mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: execFlowFunctionObjects utility
- moved creation of singlePhaseTransportModel to within RAS/LES model construction for incompressible cases
This commit is contained in:
@ -27,6 +27,7 @@ Global
|
|||||||
Description
|
Description
|
||||||
Execute the set of functionObjects specified in the selected dictionary
|
Execute the set of functionObjects specified in the selected dictionary
|
||||||
(which defaults to system/controlDict) for the selected set of times.
|
(which defaults to system/controlDict) for the selected set of times.
|
||||||
|
Alternative dictionaries should be placed in the system/ folder.
|
||||||
|
|
||||||
The flow (p-U) and optionally turbulence fields are available for the
|
The flow (p-U) and optionally turbulence fields are available for the
|
||||||
function objects to operate on allowing forces and other related properties
|
function objects to operate on allowing forces and other related properties
|
||||||
@ -144,12 +145,12 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
singlePhaseTransportModel laminarTransport(U, phi);
|
|
||||||
|
|
||||||
if (RASPropertiesHeader.headerOk())
|
if (RASPropertiesHeader.headerOk())
|
||||||
{
|
{
|
||||||
IOdictionary RASProperties(RASPropertiesHeader);
|
IOdictionary RASProperties(RASPropertiesHeader);
|
||||||
|
|
||||||
|
singlePhaseTransportModel laminarTransport(U, phi);
|
||||||
|
|
||||||
autoPtr<incompressible::RASModel> RASModel
|
autoPtr<incompressible::RASModel> RASModel
|
||||||
(
|
(
|
||||||
incompressible::RASModel::New
|
incompressible::RASModel::New
|
||||||
@ -165,6 +166,8 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
|||||||
{
|
{
|
||||||
IOdictionary LESProperties(LESPropertiesHeader);
|
IOdictionary LESProperties(LESPropertiesHeader);
|
||||||
|
|
||||||
|
singlePhaseTransportModel laminarTransport(U, phi);
|
||||||
|
|
||||||
autoPtr<incompressible::LESModel> sgsModel
|
autoPtr<incompressible::LESModel> sgsModel
|
||||||
(
|
(
|
||||||
incompressible::LESModel::New(U, phi, laminarTransport)
|
incompressible::LESModel::New(U, phi, laminarTransport)
|
||||||
|
|||||||
Reference in New Issue
Block a user