),# fin bloc_N_particle
), # fin bloc_no_model
)# fin du bloc return de la fonction factTurbulence
+
def Particle(cardinalite) :
return FACT (statut='o', max=cardinalite,
ParticleNature = SIMP( statut='o', typ='TXM', into=['Atoms', 'Molecules', 'Dissipative', 'Fluid Particle', 'Discrete Particle']),
Size = SIMP( statut='f', typ='R'), # relevant ?
),
),
- b_Molecule = BLOC( condition='ParticleNature == "Molecule"',
+ b_Molecule = BLOC( condition='ParticleNature == "Molecules"',
MoleculeName = SIMP( statut='o', typ=(userParticle,'createObject'),),
ChemicalSpecie = FACT ( max='**', statut='o',
ChemicalSpecieName = SIMP( statut='o', typ=userAtom),