Single phase compressible solvers: added -listThermophysicalTransportModels option
to list the available thermophysical transport models. Also added output for laminar momentum and thermophysical transport models.
This commit is contained in:
@ -49,3 +49,11 @@ argList::addBoolOption
|
||||
"List momentumTransportModels"
|
||||
);
|
||||
#endif
|
||||
|
||||
#ifdef fluidThermophysicalTransportModel_H
|
||||
argList::addBoolOption
|
||||
(
|
||||
"listThermophysicalTransportModels",
|
||||
"List thermophysicalTransportModels"
|
||||
);
|
||||
#endif
|
||||
|
||||
@ -81,6 +81,11 @@ if (args.optionFound("listMomentumTransportModels"))
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< endl;
|
||||
|
||||
Info<< "Laminar models"
|
||||
<< compressible::laminarModel::
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< endl;
|
||||
|
||||
Info<< "RAS models"
|
||||
<< compressible::RASModel::
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
@ -94,6 +99,33 @@ if (args.optionFound("listMomentumTransportModels"))
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef fluidThermophysicalTransportModel_H
|
||||
if (args.optionFound("listThermophysicalTransportModels"))
|
||||
{
|
||||
Info<< "Turbulence models"
|
||||
<< fluidThermophysicalTransportModel::
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< endl;
|
||||
|
||||
Info<< "Laminar models"
|
||||
<< laminarThermophysicalTransportModel
|
||||
<fluidThermophysicalTransportModel>::
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< endl;
|
||||
|
||||
Info<< "RAS models"
|
||||
<< RASThermophysicalTransportModel<fluidThermophysicalTransportModel>::
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< endl;
|
||||
|
||||
Info<< "LES models"
|
||||
<< LESThermophysicalTransportModel<fluidThermophysicalTransportModel>::
|
||||
dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< endl;
|
||||
listOptions = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (listOptions)
|
||||
{
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user