]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Correction Typo ds le filtre ApplyOn des BoundaryConditions v2
authorEric Fayolle <eric.fayolle@edf.fr>
Tue, 13 Jul 2021 13:23:51 +0000 (15:23 +0200)
committerEric Fayolle <eric.fayolle@edf.fr>
Tue, 13 Jul 2021 13:23:51 +0000 (15:23 +0200)
Vimmp/cata_CSAndCPS_v18k.py
Vimmp/cata_CSAndCPS_v18k_test_driver_1.comm

index e02d1bc2f15122d8727308b4ce676f5b83b54b41..e4dd39f659bd9f90078375ae438f3d8b71b86923 100644 (file)
@@ -1366,25 +1366,19 @@ def prepareBoundaryCondition():
       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'])" ,
index 36733745f54f03a4d79d40e75682d1e3189b4c82..4dabcae280ef5a7ae14a959d52687e67272fce1d 100644 (file)
@@ -70,9 +70,9 @@ test=Component(SystemType='Classical particle system',
                                  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