liquidThermo: rhoThermo instantiated on liquidProperties
This allows single, multi-phase and VoF compressible simulations to be performed with the accurate thermophysical property functions for liquids provided by the liquidProperty classes. e.g. in the multiphase/compressibleInterFoam/laminar/depthCharge2D tutorial water can now be specified by thermoType { type heRhoThermo; mixture pureMixture; properties liquid; energy sensibleInternalEnergy; } mixture { H2O; } as an alternative to the previous less accurate representation defined by thermoType { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectFluid; specie specie; energy sensibleInternalEnergy; } mixture { specie { molWeight 18.0; } equationOfState { R 3000; rho0 1027; } thermodynamics { Cp 4195; Hf 0; } transport { mu 3.645e-4; Pr 2.289; } } However the increase in accuracy of the new simpler and more convenient specification and representation comes at a cost: the NSRDS functions used by the liquidProperties classes are relatively expensive to evaluate and the depthCharge2D case takes ~14% longer to run.
Showing
- src/thermophysicalModels/basic/Make/files 1 addition, 0 deletionssrc/thermophysicalModels/basic/Make/files
- src/thermophysicalModels/basic/basicThermo/basicThermo.C 16 additions, 2 deletionssrc/thermophysicalModels/basic/basicThermo/basicThermo.C
- src/thermophysicalModels/basic/basicThermo/basicThermo.H 12 additions, 1 deletionsrc/thermophysicalModels/basic/basicThermo/basicThermo.H
- src/thermophysicalModels/basic/basicThermo/basicThermoTemplates.C 126 additions, 62 deletions...mophysicalModels/basic/basicThermo/basicThermoTemplates.C
- src/thermophysicalModels/basic/rhoThermo/liquidThermo.C 91 additions, 0 deletionssrc/thermophysicalModels/basic/rhoThermo/liquidThermo.C
- src/thermophysicalModels/thermophysicalProperties/liquidProperties/H2O/H2O.C 0 additions, 2 deletions...odels/thermophysicalProperties/liquidProperties/H2O/H2O.C
- src/thermophysicalModels/thermophysicalProperties/liquidProperties/liquidProperties/liquidProperties.H 10 additions, 1 deletion...ties/liquidProperties/liquidProperties/liquidProperties.H
- src/thermophysicalModels/thermophysicalProperties/solidProperties/solidProperties/solidProperties.H 1 addition, 1 deletion...perties/solidProperties/solidProperties/solidProperties.H
- src/thermophysicalModels/thermophysicalProperties/thermophysicalProperties/thermophysicalProperties.H 0 additions, 6 deletions...rties/thermophysicalProperties/thermophysicalProperties.H
- src/thermophysicalModels/thermophysicalProperties/thermophysicalProperties/thermophysicalPropertiesI.H 2 additions, 0 deletions...ties/thermophysicalProperties/thermophysicalPropertiesI.H
- src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelector.C 61 additions, 0 deletions...icalPropertiesSelector/thermophysicalPropertiesSelector.C
- src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelector.H 154 additions, 0 deletions...icalPropertiesSelector/thermophysicalPropertiesSelector.H
- src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelectorI.H 175 additions, 0 deletions...calPropertiesSelector/thermophysicalPropertiesSelectorI.H
- tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/constant/thermophysicalProperties.water 16 additions, 0 deletions...nar/depthCharge2D/constant/thermophysicalProperties.water
Please register or sign in to comment