TypeOfBoundaryCondition = SIMP(statut='o', typ='TXM', into=['Inlet', 'Outlet', 'Symmetry','Periodicity', 'Wall', 'Free Surface'], ang='Pick each type of boundary condition needed.\n Current choice includes Inlet, Outlet, Symmetry, Periodicity, Wall and Free surface.'),
blocDesigneMesh = BLOC(condition = "SystemType == 'Continuum system'",
- ApplyOn = SIMP(statut ='o', typ=meshGroup, max='**', homo='SansOrdreNiDoublon', ang='Choose the surface elements (groups) on which the boundary condition applies. \n Requires the definition of boundary groups in SpatialAspects.',
+ ApplyOnGroups = SIMP(statut ='o', typ=meshGroup, max='**', homo='SansOrdreNiDoublon', ang='Choose the surface elements (groups) on which the boundary condition applies. \n Requires the definition of boundary groups in SpatialAspects.',
filtre=( '(set(MeshIdentifiers).intersection( set(self.getParentsWithId().getListeUserASSD("MeshId")) ) != set()) ',
( ('MeshIdentifiers', 'self.etape.getChild("blocModeleNumeriqueContinuum").getChild("NumericalModel")'), )
),
),
),
blocDesigne_Shape = BLOC(condition = "SystemType == 'Classical particle system'",
- ApplyOn = SIMP (statut ='o', typ=shapeIdentifier, max='**', homo='SansOrdreNiDoublon', ang='Choose the shapes on which the boundary condition applies. \n Requires the definition of boundary shapes in SpatialAspects.',
+ ApplyOnShapes = SIMP (statut ='o', typ=shapeIdentifier, max='**', homo='SansOrdreNiDoublon', ang='Choose the shapes on which the boundary condition applies. \n Requires the definition of boundary shapes in SpatialAspects.',
filtre=( '(set(SysGeoIdentifiers).intersection( set(self.getParentsWithId().getListeUserASSD("SystemGeometryId")) ) != set()) ',
( ('SysGeoIdentifiers', 'self.etape.getChild("blocModeleNumeriqueClassical").getChild("NumericalModel")'), )
),
- ),
-# ApplyOnShape = SIMP (statut ='o', typ=spatialRegion, max='**')
-# ApplyOnGroups = SIMP (statut ='o', typ=meshGroup, max='**', homo='SansOrdreNiDoublon', ang='Choose the surface elements (groups) on which the boundary condition applies. \n Requires the definition of boundary groups in SpatialAspects.',
-# filtre=( '(set(MeshIdentifiers).intersection( set(self.getParentsWithId().getListeUserASSD("MeshId")) ) != set()) ',
-# ( ('MeshIdentifiers', 'self.etape.getChild("blocModeleNumeriqueClassical").getChild("NumericalModel")'), )
-# ),
-# ),
- ),
+ ),
+ ),
blocOnStateVariable = BLOC(condition = "(TypeOfBoundaryCondition in ['Inlet', 'Symmetry','Periodicity', 'Free Surface'] and SystemType == 'Continuum system') or (SystemType == 'Classical particle system' and TypeOfBoundaryCondition not in ['Outlet','Inlet'])" ,
Solver='LAMMPS',
SysGeoIdentifiers=(geom,),),
BoundaryConditions=_F(BoundaryCondition=_F(TypeOfBoundaryCondition='Periodicity',
- ApplyOn=(cube,),
+ ApplyOnShapes=(cube,),
ApplyOnStateVariable=(Position,Velocity,),
Direction='XYZ',
ApplyOnAllsParticle=True,),),);
#VERSION_CATALOGUE:VimmpV16:FIN VERSION_CATALOGUE
-#CHECKSUM:3d9d13bcdb93c30ca5ee4e499e32eb49 -:FIN CHECKSUM
\ No newline at end of file
+#CHECKSUM:3d9d13bcdb93c30ca5ee4e499e32eb49 -:FIN CHECKSUM