FluidDomainCollection Class¶
-
class
NXOpen.CAE.
FluidDomainCollection
¶ Bases:
object
Provides methods for managing fluid domains:py:class:NXOpen.CAE.FluidDomainRecipe in a fem part
To obtain an instance of this class, refer to
NXOpen.CAE.BaseFEModel
New in version NX7.5.2.
Methods¶
Method | Description |
---|---|
CreateBuilder | Creates a fluid domain recipe builder |
DeleteRecipe | Deletes a fluid domain recipe |
Find | Finds the CAE.FluidDomainRecipe with the given identifier as recorded in a journal. |
FindObject | Finds the NXOpen.CAE.FluidDomainRecipe with the given identifier as recorded in a journal. |
FindRecipeFromFluidBody | Finds the fluid domain recipe from which the fluid body was gerenared |
UpdateAll | Updates all fluid domain recipes |
UpdateRecipe | Updates a fluid domain recipe |
Method Detail¶
CreateBuilder¶
-
FluidDomainCollection.
CreateBuilder
¶ Creates a fluid domain recipe builder
Signature
CreateBuilder(recipe)
Parameters: recipe ( NXOpen.CAE.FluidDomainRecipe
) –FluidDomainRecipe
to be edited, if None then create a new oneReturns: FluidDomain Builder Return type: NXOpen.CAE.FluidDomainBuilder
New in version NX7.5.2.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling - Basic”) OR sc_acou_meshing (” SC Acoustic Meshing”)
DeleteRecipe¶
-
FluidDomainCollection.
DeleteRecipe
¶ Deletes a fluid domain recipe
Signature
DeleteRecipe(recipe)
Parameters: recipe ( NXOpen.CAE.FluidDomainRecipe
) –FluidDomainRecipe
to be deletedNew in version NX11.0.0.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling - Basic”) OR sc_acou_meshing (” SC Acoustic Meshing”)
Find¶
-
FluidDomainCollection.
Find
¶ Finds the
CAE.FluidDomainRecipe
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when Find is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
Find(journalIdentifier)
Parameters: journalIdentifier (str) – FluidDomainRecipe name Returns: fluid domain with this identifier Return type: NXOpen.CAE.FluidDomainRecipe
New in version NX11.0.0.
License requirements: None.
FindObject¶
-
FluidDomainCollection.
FindObject
¶ Finds the
NXOpen.CAE.FluidDomainRecipe
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – FluidDomainRecipe name Returns: fluid domain with this identifier Return type: NXOpen.CAE.FluidDomainRecipe
New in version NX7.5.2.
License requirements: None.
FindRecipeFromFluidBody¶
-
FluidDomainCollection.
FindRecipeFromFluidBody
¶ Finds the fluid domain recipe from which the fluid body was gerenared
Signature
FindRecipeFromFluidBody(fluidBody)
Parameters: fluidBody ( NXOpen.CAE.CAEBody
) –CAEBody
for which to look for the generatingFluidDomainRecipe
Returns: FluidDomainRecipe
from which theCAEBody
was gereratedReturn type: NXOpen.CAE.FluidDomainRecipe
New in version NX11.0.2.
License requirements: None.
UpdateAll¶
-
FluidDomainCollection.
UpdateAll
¶ Updates all fluid domain recipes
Signature
UpdateAll()
New in version NX7.5.2.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling - Basic”) OR sc_acou_meshing (” SC Acoustic Meshing”)
UpdateRecipe¶
-
FluidDomainCollection.
UpdateRecipe
¶ Updates a fluid domain recipe
Signature
UpdateRecipe(recipe)
Parameters: recipe ( NXOpen.CAE.FluidDomainRecipe
) –FluidDomainRecipe
to be updatedNew in version NX7.5.2.
License requirements: nx_adv_fluid_mod (“NX Advanced Fluid Modeling - Basic”) OR sc_acou_meshing (” SC Acoustic Meshing”)