- comp_nameThe name of the components in the salt
C++ Type:std::vector<std::string>
Controllable:No
Description:The name of the components in the salt
- comp_valThe mole fraction of each salt component
C++ Type:std::vector<double>
Unit:(no unit assumed)
Controllable:No
Description:The mole fraction of each salt component
- prop_def_fileDefinition of a fluid property file, which must be a file path to the comma-separated data matching the Saline format.
C++ Type:std::string
Controllable:No
Description:Definition of a fluid property file, which must be a file path to the comma-separated data matching the Saline format.
SalineMoltenSaltFluidProperties
Molten salt fluid properties using Saline
The mole fractions of the various elements / molecules present in the salt must sum to one. The following properties can be computed:
density
isobaric specific heat
enthalpy
viscosity
thermal diffusivity
Saline must be installed alongside MOOSE using the contrib/saline
submodule in the Fluid Properties module to be able to use this fluid property object. To initialize/download the Saline submodule:
cd <directory where moose is downloaded>
git submodule update --init --checkout modules/fluid_properties/contrib/saline
Example input syntax
In this example, the fluid properties for a LiF-NaF-KF
salt mixture are computed by a SalineMoltenSaltFluidProperties
.
[FluidProperties<<<{"href": "../../syntax/FluidProperties/index.html"}>>>]
[salt]
type = SalineMoltenSaltFluidProperties<<<{"description": "Molten salt fluid properties using Saline", "href": "SalineMoltenSaltFluidProperties.html"}>>>
comp_name<<<{"description": "The name of the components in the salt"}>>> = "LiF NaF KF"
comp_val<<<{"description": "The mole fraction of each salt component"}>>> = "0.465 0.115 0.42"
prop_def_file<<<{"description": "Definition of a fluid property file, which must be a file path to the comma-separated data matching the Saline format."}>>> = "saline_custom.prp"
[]
[]
(modules/fluid_properties/test/tests/saline/test.i)It leverages the salt property input data in the saline_custom.prp
file below. The data is sorted in columns. The first column is the name of the salt, then its id, then a number of thermo-physical properties with additional metadata such as the range of validity, the uncertainty and a short name for the reference publication providing the data.
More details on working with Saline can be found in this reference.
// System , id , Mol Mass , Mol Frac , Melt(K) , Var(%) , Reference , Boil(K) , Var(%) , Reference , rho_a , rho_b , range(K) , Var(%) , Reference , mu1_a , mu2_b , mu2_a , mu2_b , mu2_c , range(K) , Var(%) , Reference , k_a , k_b , range(K) , Var(%) , Reference , cp_a , cp_b , cp_c , cp_d , Var(%) , Reference
//
//
LiF-NaF-KF , 8 , 41.2909 , 0.465-0.115-0.42 , 735.00 , 2.00 , Rogers1982 , 1843.15 , 0.0 , Williams 2006b , 2.579E+00 , 6.240E-04 , 933-1163 , 1.00 , Cibulkova2006 , 0.000E+00 , 0.000E+00 , 2.130E-01 , -1.200E+03 , 1.350E+06 , 770-970 , 2.00 , Toerklep1980 , -3.500E-01 , 1.300E-03 , 773-973 , 3.50 , An2015 , 4.032E+01 , 4.388E-02 , 0.000E+00 , 0.000E+00 , 2.00 , Rogers1982
(modules/fluid_properties/test/tests/saline/saline_custom.prp)Input Parameters
- T_initial_guess400Temperature initial guess for Newton Method variable set conversion
Default:400
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Temperature initial guess for Newton Method variable set conversion
- max_newton_its100Maximum number of Newton iterations for variable set conversions
Default:100
C++ Type:unsigned int
Controllable:No
Description:Maximum number of Newton iterations for variable set conversions
- p_initial_guess200000Pressure initial guess for Newton Method variable set conversion
Default:200000
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Pressure initial guess for Newton Method variable set conversion
- tolerance1e-08Tolerance for 2D Newton variable set conversion
Default:1e-08
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Tolerance for 2D Newton variable set conversion
Variable Set Conversions Newton Solve Parameters
- allow_imperfect_jacobiansFalsetrue to allow unimplemented property derivative terms to be set to zero for the AD API
Default:False
C++ Type:bool
Controllable:No
Description:true to allow unimplemented property derivative terms to be set to zero for the AD API
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:Yes
Description:Set the enabled status of the MooseObject.
- fp_typesingle-phase-fpType of the fluid property object
Default:single-phase-fp
C++ Type:FPType
Controllable:No
Description:Type of the fluid property object
Advanced Parameters
- prop_getter_suffixAn optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
C++ Type:MaterialPropertyName
Unit:(no unit assumed)
Controllable:No
Description:An optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
- use_interpolated_stateFalseFor the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.
Default:False
C++ Type:bool
Controllable:No
Description:For the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.