MomentumTransportModels: Simplified code using the momentumTransportModel::groupName function
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -149,7 +149,7 @@ LamBremhorstKE::LamBremhorstKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -162,7 +162,7 @@ LamBremhorstKE::LamBremhorstKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -299,7 +299,7 @@ LienCubicKE::LienCubicKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -312,7 +312,7 @@ LienCubicKE::LienCubicKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -206,7 +206,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace RASModels
|
||||
} // Edn namespace incompressible
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -193,7 +193,7 @@ LienLeschziner::LienLeschziner
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -206,7 +206,7 @@ LienLeschziner::LienLeschziner
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -193,7 +193,7 @@ ShihQuadraticKE::ShihQuadraticKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -206,7 +206,7 @@ ShihQuadraticKE::ShihQuadraticKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -484,7 +484,7 @@ kkLOmega::kkLOmega
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("kt", alphaRhoPhi.group()),
|
||||
this->groupName("kt"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -496,7 +496,7 @@ kkLOmega::kkLOmega
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("kl", alphaRhoPhi.group()),
|
||||
this->groupName("kl"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -508,7 +508,7 @@ kkLOmega::kkLOmega
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("omega", alphaRhoPhi.group()),
|
||||
this->groupName("omega"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -152,7 +152,7 @@ qZeta::qZeta
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -165,7 +165,7 @@ qZeta::qZeta
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -178,7 +178,7 @@ qZeta::qZeta
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("q", alphaRhoPhi.group()),
|
||||
this->groupName("q"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
@ -192,7 +192,7 @@ qZeta::qZeta
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("zeta", alphaRhoPhi.group()),
|
||||
this->groupName("zeta"),
|
||||
runTime_.name(),
|
||||
mesh_,
|
||||
IOobject::NO_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -360,7 +360,7 @@ kOmegaSST<MomentumTransportModel, BasicMomentumTransportModel>::kOmegaSST
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -372,7 +372,7 @@ kOmegaSST<MomentumTransportModel, BasicMomentumTransportModel>::kOmegaSST
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("omega", alphaRhoPhi.group()),
|
||||
this->groupName("omega"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -144,7 +144,7 @@ DeardorffDiffStress<BasicMomentumTransportModel>::epsilon() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("epsilon", this->alphaRhoPhi_.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->Ce_*k*sqrt(k)/this->delta()
|
||||
);
|
||||
}
|
||||
@ -158,7 +158,7 @@ DeardorffDiffStress<BasicMomentumTransportModel>::omega() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("omega", this->alphaRhoPhi_.group()),
|
||||
this->groupName("omega"),
|
||||
(this->Ce_/this->Ck_)*sqrt(k)/this->delta()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -125,7 +125,7 @@ Foam::LESModel<BasicMomentumTransportModel>::LESModel
|
||||
(
|
||||
LESdelta::New
|
||||
(
|
||||
IOobject::groupName("delta", alphaRhoPhi.group()),
|
||||
this->groupName("delta"),
|
||||
*this,
|
||||
LESDict_
|
||||
)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -214,7 +214,7 @@ public:
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
this->nut() + this->nu()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -106,7 +106,7 @@ LESeddyViscosity<BasicMomentumTransportModel>::epsilon() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("epsilon", this->alphaRhoPhi_.group()),
|
||||
this->groupName("epsilon"),
|
||||
Ce_*tk()*sqrt(tk())/this->delta()
|
||||
);
|
||||
}
|
||||
@ -120,7 +120,7 @@ LESeddyViscosity<BasicMomentumTransportModel>::omega() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("omega", this->alphaRhoPhi_.group()),
|
||||
this->groupName("omega"),
|
||||
(Ce_/Ck_)*sqrt(tk())/this->delta()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -50,7 +50,7 @@ tmp<volScalarField> Smagorinsky<BasicMomentumTransportModel>::k
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("k", this->alphaRhoPhi_.group()),
|
||||
this->groupName("k"),
|
||||
sqr((-b + sqrt(sqr(b) + 4*a*c))/(2*a))
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2015-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -56,7 +56,7 @@ tmp<volScalarField> WALE<BasicMomentumTransportModel>::k
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("k", this->alphaRhoPhi_.group()),
|
||||
this->groupName("k"),
|
||||
sqr(sqr(Cw_)*this->delta()/Ck_)*
|
||||
(
|
||||
pow3(magSqrSd)
|
||||
@ -165,7 +165,7 @@ tmp<volScalarField> WALE<BasicMomentumTransportModel>::epsilon() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("epsilon", this->alphaRhoPhi_.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->Ce_*k*sqrt(k)/this->delta()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -169,7 +169,7 @@ dynamicKEqn<BasicMomentumTransportModel>::dynamicKEqn
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", this->alphaRhoPhi_.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -214,7 +214,7 @@ tmp<volScalarField> dynamicKEqn<BasicMomentumTransportModel>::epsilon() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("epsilon", this->alphaRhoPhi_.group()),
|
||||
this->groupName("epsilon"),
|
||||
Ce()*k()*sqrt(k())/this->delta()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -84,7 +84,7 @@ dynamicLagrangian<BasicMomentumTransportModel>::dynamicLagrangian
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("flm", this->alphaRhoPhi_.group()),
|
||||
this->groupName("flm"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -96,7 +96,7 @@ dynamicLagrangian<BasicMomentumTransportModel>::dynamicLagrangian
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("fmm", this->alphaRhoPhi_.group()),
|
||||
this->groupName("fmm"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -89,7 +89,7 @@ kEqn<BasicMomentumTransportModel>::kEqn
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", this->alphaRhoPhi_.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -140,7 +140,7 @@ tmp<volScalarField> kEqn<BasicMomentumTransportModel>::epsilon() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("epsilon", this->alphaRhoPhi_.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->Ce_*k()*sqrt(k())/this->delta()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -190,7 +190,7 @@ LRR<BasicMomentumTransportModel>::LRR
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::NO_READ,
|
||||
@ -202,7 +202,7 @@ LRR<BasicMomentumTransportModel>::LRR
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -179,7 +179,7 @@ LaunderSharmaKE<BasicMomentumTransportModel>::LaunderSharmaKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -192,7 +192,7 @@ LaunderSharmaKE<BasicMomentumTransportModel>::LaunderSharmaKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -222,7 +222,7 @@ public:
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
this->nut() + this->nu()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -179,7 +179,7 @@ RNGkEpsilon<BasicMomentumTransportModel>::RNGkEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -191,7 +191,7 @@ RNGkEpsilon<BasicMomentumTransportModel>::RNGkEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2015-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -199,7 +199,7 @@ SSG<BasicMomentumTransportModel>::SSG
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::NO_READ,
|
||||
@ -211,7 +211,7 @@ SSG<BasicMomentumTransportModel>::SSG
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -160,7 +160,7 @@ kEpsilon<BasicMomentumTransportModel>::kEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -172,7 +172,7 @@ kEpsilon<BasicMomentumTransportModel>::kEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -150,7 +150,7 @@ kOmega<BasicMomentumTransportModel>::kOmega
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -162,7 +162,7 @@ kOmega<BasicMomentumTransportModel>::kOmega
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("omega", alphaRhoPhi.group()),
|
||||
this->groupName("omega"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2021-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2021-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -216,7 +216,7 @@ kOmega2006<BasicMomentumTransportModel>::kOmega2006
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -228,7 +228,7 @@ kOmega2006<BasicMomentumTransportModel>::kOmega2006
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("omega", alphaRhoPhi.group()),
|
||||
this->groupName("omega"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -88,7 +88,7 @@ tmp<volScalarField::Internal> kOmegaSSTLM<BasicMomentumTransportModel>::Fthetat
|
||||
|
||||
return volScalarField::Internal::New
|
||||
(
|
||||
IOobject::groupName("Fthetat", this->alphaRhoPhi_.group()),
|
||||
this->groupName("Fthetat"),
|
||||
min
|
||||
(
|
||||
max
|
||||
@ -110,7 +110,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::ReThetac() const
|
||||
(
|
||||
volScalarField::Internal::New
|
||||
(
|
||||
IOobject::groupName("ReThetac", this->alphaRhoPhi_.group()),
|
||||
this->groupName("ReThetac"),
|
||||
this->mesh_,
|
||||
dimless
|
||||
)
|
||||
@ -148,7 +148,7 @@ tmp<volScalarField::Internal> kOmegaSSTLM<BasicMomentumTransportModel>::Flength
|
||||
(
|
||||
volScalarField::Internal::New
|
||||
(
|
||||
IOobject::groupName("Flength", this->alphaRhoPhi_.group()),
|
||||
this->groupName("Flength"),
|
||||
this->mesh_,
|
||||
dimless
|
||||
)
|
||||
@ -209,7 +209,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::ReThetat0
|
||||
(
|
||||
volScalarField::Internal::New
|
||||
(
|
||||
IOobject::groupName("ReThetat0", this->alphaRhoPhi_.group()),
|
||||
this->groupName("ReThetat0"),
|
||||
this->mesh_,
|
||||
dimless
|
||||
)
|
||||
@ -325,7 +325,7 @@ tmp<volScalarField::Internal> kOmegaSSTLM<BasicMomentumTransportModel>::Fonset
|
||||
|
||||
return volScalarField::Internal::New
|
||||
(
|
||||
IOobject::groupName("Fonset", this->alphaRhoPhi_.group()),
|
||||
this->groupName("Fonset"),
|
||||
max(Fonset2 - Fonset3, scalar(0))
|
||||
);
|
||||
}
|
||||
@ -423,7 +423,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::kOmegaSSTLM
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("ReThetat", alphaRhoPhi.group()),
|
||||
this->groupName("ReThetat"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -436,7 +436,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::kOmegaSSTLM
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("gammaInt", alphaRhoPhi.group()),
|
||||
this->groupName("gammaInt"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -449,7 +449,7 @@ kOmegaSSTLM<BasicMomentumTransportModel>::kOmegaSSTLM
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("gammaIntEff", alphaRhoPhi.group()),
|
||||
this->groupName("gammaIntEff"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_
|
||||
),
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2015-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -165,7 +165,7 @@ kOmegaSSTSAS<BasicMomentumTransportModel>::kOmegaSSTSAS
|
||||
(
|
||||
LESdelta::New
|
||||
(
|
||||
IOobject::groupName("delta", alphaRhoPhi.group()),
|
||||
this->groupName("delta"),
|
||||
*this,
|
||||
this->coeffDict_
|
||||
)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -191,7 +191,7 @@ realizableKE<BasicMomentumTransportModel>::realizableKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -203,7 +203,7 @@ realizableKE<BasicMomentumTransportModel>::realizableKE
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -183,7 +183,7 @@ v2f<BasicMomentumTransportModel>::v2f
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -195,7 +195,7 @@ v2f<BasicMomentumTransportModel>::v2f
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -207,7 +207,7 @@ v2f<BasicMomentumTransportModel>::v2f
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("v2", alphaRhoPhi.group()),
|
||||
this->groupName("v2"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -219,7 +219,7 @@ v2f<BasicMomentumTransportModel>::v2f
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("f", alphaRhoPhi.group()),
|
||||
this->groupName("f"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2015-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -154,7 +154,7 @@ Foam::ReynoldsStress<BasicMomentumTransportModel>::ReynoldsStress
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("R", alphaRhoPhi.group()),
|
||||
this->groupName("R"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -167,7 +167,7 @@ Foam::ReynoldsStress<BasicMomentumTransportModel>::ReynoldsStress
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("nut", alphaRhoPhi.group()),
|
||||
this->groupName("nut"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -219,7 +219,7 @@ Foam::ReynoldsStress<BasicMomentumTransportModel>::devTau() const
|
||||
{
|
||||
return volSymmTensorField::New
|
||||
(
|
||||
IOobject::groupName("devTau", this->alphaRhoPhi_.group()),
|
||||
this->groupName("devTau"),
|
||||
this->alpha_*this->rho_*R_
|
||||
- (this->alpha_*this->rho_*this->nu())
|
||||
*dev(twoSymm(fvc::grad(this->U_)))
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -57,7 +57,7 @@ Foam::eddyViscosity<BasicMomentumTransportModel>::eddyViscosity
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("nut", alphaRhoPhi.group()),
|
||||
this->groupName("nut"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -102,7 +102,7 @@ Foam::eddyViscosity<BasicMomentumTransportModel>::sigma() const
|
||||
|
||||
return volSymmTensorField::New
|
||||
(
|
||||
IOobject::groupName("R", this->alphaRhoPhi_.group()),
|
||||
this->groupName("R"),
|
||||
((2.0/3.0)*I)*tk() - (nut_)*dev(twoSymm(fvc::grad(this->U_))),
|
||||
patchFieldTypes
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -144,7 +144,7 @@ Maxwell<BasicMomentumTransportModel>::Maxwell
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("sigma", alphaRhoPhi.group()),
|
||||
this->groupName("sigma"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -161,7 +161,7 @@ Maxwell<BasicMomentumTransportModel>::Maxwell
|
||||
{
|
||||
typeIOobject<volSymmTensorField> header
|
||||
(
|
||||
IOobject::groupName("sigma" + name(modei), alphaRhoPhi.group()),
|
||||
this->groupName("sigma" + name(modei)),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::NO_READ
|
||||
@ -249,7 +249,7 @@ tmp<volScalarField> Maxwell<BasicMomentumTransportModel>::nuEff() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
this->nu()
|
||||
);
|
||||
}
|
||||
@ -277,7 +277,7 @@ tmp<volSymmTensorField> Maxwell<BasicMomentumTransportModel>::devTau() const
|
||||
{
|
||||
return volSymmTensorField::New
|
||||
(
|
||||
IOobject::groupName("devTau", this->alphaRhoPhi_.group()),
|
||||
this->groupName("devTau"),
|
||||
this->alpha_*this->rho_*sigma_
|
||||
- (this->alpha_*this->rho_*this->nu())
|
||||
*dev(twoSymm(fvc::grad(this->U_)))
|
||||
@ -352,11 +352,10 @@ void Maxwell<BasicMomentumTransportModel>::correct()
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName
|
||||
this->groupName
|
||||
(
|
||||
"rLambda"
|
||||
+ (nModes_ == 1 ? word::null : name(modei)),
|
||||
this->alphaRhoPhi_.group()
|
||||
+ (nModes_ == 1 ? word::null : name(modei))
|
||||
),
|
||||
this->runTime_.constant(),
|
||||
this->mesh_
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -84,7 +84,7 @@ tmp<volScalarField> Stokes<BasicMomentumTransportModel>::nuEff() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
this->nu()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2018-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -90,7 +90,7 @@ generalisedNewtonian<BasicMomentumTransportModel>::nuEff() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
viscosityModel_->nu()
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2020-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2020-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -73,11 +73,7 @@ lambdaThixotropic<BasicMomentumTransportModel>::lambdaThixotropic
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName
|
||||
(
|
||||
typedName("lambda"),
|
||||
alphaRhoPhi.group()
|
||||
),
|
||||
this->groupName(typedName("lambda")),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -90,11 +86,7 @@ lambdaThixotropic<BasicMomentumTransportModel>::lambdaThixotropic
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName
|
||||
(
|
||||
typedName("nu"),
|
||||
alphaRhoPhi.group()
|
||||
),
|
||||
this->groupName(typedName("nu")),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::NO_READ,
|
||||
@ -161,7 +153,7 @@ lambdaThixotropic<BasicMomentumTransportModel>::nuEff() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
nu_
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -183,7 +183,7 @@ Foam::laminarModel<BasicMomentumTransportModel>::nut() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nut", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nut"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(dimViscosity, 0)
|
||||
);
|
||||
@ -210,7 +210,7 @@ Foam::laminarModel<BasicMomentumTransportModel>::k() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("k", this->alphaRhoPhi_.group()),
|
||||
this->groupName("k"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(sqr(dimVelocity), 0)
|
||||
);
|
||||
@ -223,7 +223,7 @@ Foam::laminarModel<BasicMomentumTransportModel>::epsilon() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("epsilon", this->alphaRhoPhi_.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(sqr(dimVelocity)/dimTime, 0)
|
||||
);
|
||||
@ -236,7 +236,7 @@ Foam::laminarModel<BasicMomentumTransportModel>::omega() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("omega", this->alphaRhoPhi_.group()),
|
||||
this->groupName("omega"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(dimless/dimTime, 0)
|
||||
);
|
||||
@ -249,7 +249,7 @@ Foam::laminarModel<BasicMomentumTransportModel>::sigma() const
|
||||
{
|
||||
return volSymmTensorField::New
|
||||
(
|
||||
IOobject::groupName("sigma", this->alphaRhoPhi_.group()),
|
||||
this->groupName("sigma"),
|
||||
this->mesh_,
|
||||
dimensionedSymmTensor(sqr(this->U_.dimensions()), Zero)
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2015-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -55,7 +55,7 @@ nonlinearEddyViscosity
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("nonlinearStress", alphaRhoPhi.group()),
|
||||
this->groupName("nonlinearStress"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_
|
||||
),
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -68,7 +68,7 @@ continuousGasKEpsilon<BasicMomentumTransportModel>::continuousGasKEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("nutEff", alphaRhoPhi.group()),
|
||||
this->groupName("nutEff"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::READ_IF_PRESENT,
|
||||
@ -188,7 +188,7 @@ continuousGasKEpsilon<BasicMomentumTransportModel>::nuEff() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("nuEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("nuEff"),
|
||||
blend*this->nut_
|
||||
+ (1.0 - blend)*rhoEff()*nutEff_/this->rho_
|
||||
+ this->nu()
|
||||
@ -211,7 +211,7 @@ continuousGasKEpsilon<BasicMomentumTransportModel>::rhoEff() const
|
||||
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("rhoEff", this->alphaRhoPhi_.group()),
|
||||
this->groupName("rhoEff"),
|
||||
gas.rho() + (virtualMass.Cvm() + 3.0/20.0)*liquid.rho()
|
||||
);
|
||||
}
|
||||
@ -274,7 +274,7 @@ continuousGasKEpsilon<BasicMomentumTransportModel>::sigma() const
|
||||
|
||||
return volSymmTensorField::New
|
||||
(
|
||||
IOobject::groupName("R", this->alphaRhoPhi_.group()),
|
||||
this->groupName("R"),
|
||||
((2.0/3.0)*I)*tk() - (nutEff_)*dev(twoSymm(fvc::grad(this->U_))),
|
||||
tk().boundaryField().types()
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -146,7 +146,7 @@ mixtureKEpsilon<BasicMomentumTransportModel>::mixtureKEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("k", alphaRhoPhi.group()),
|
||||
this->groupName("k"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
@ -158,7 +158,7 @@ mixtureKEpsilon<BasicMomentumTransportModel>::mixtureKEpsilon
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
IOobject::groupName("epsilon", alphaRhoPhi.group()),
|
||||
this->groupName("epsilon"),
|
||||
this->runTime_.name(),
|
||||
this->mesh_,
|
||||
IOobject::MUST_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -89,7 +89,7 @@ Foam::phaseCompressibleMomentumTransportModel::pPrime() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("pPrime", this->alphaRhoPhi_.group()),
|
||||
this->groupName("pPrime"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(dimPressure, 0)
|
||||
);
|
||||
@ -101,7 +101,7 @@ Foam::phaseCompressibleMomentumTransportModel::pPrimef() const
|
||||
{
|
||||
return surfaceScalarField::New
|
||||
(
|
||||
IOobject::groupName("pPrimef", this->alphaRhoPhi_.group()),
|
||||
this->groupName("pPrimef"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(dimPressure, 0)
|
||||
);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2013-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -88,7 +88,7 @@ Foam::phaseIncompressibleMomentumTransportModel::pPrime() const
|
||||
{
|
||||
return volScalarField::New
|
||||
(
|
||||
IOobject::groupName("pPrime", this->alphaRhoPhi_.group()),
|
||||
this->groupName("pPrime"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(dimPressure, 0)
|
||||
);
|
||||
@ -100,7 +100,7 @@ Foam::phaseIncompressibleMomentumTransportModel::pPrimef() const
|
||||
{
|
||||
return surfaceScalarField::New
|
||||
(
|
||||
IOobject::groupName("pPrimef", this->alphaRhoPhi_.group()),
|
||||
this->groupName("pPrimef"),
|
||||
this->mesh_,
|
||||
dimensionedScalar(dimPressure, 0)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user