mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
functionObjects::regionFunctionObject: Added optional 'log' entry (defaults to true)
This commit is contained in:
@ -90,6 +90,8 @@ bool Foam::functionObjects::fieldCoordinateSystemTransform::read
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
dict.lookup("fields") >> fieldSet_;
|
||||
|
||||
return true;
|
||||
|
||||
@ -65,6 +65,8 @@ Foam::functionObjects::fieldExpression::~fieldExpression()
|
||||
|
||||
bool Foam::functionObjects::fieldExpression::read(const dictionary& dict)
|
||||
{
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
if (fieldName_ == word::null || dict.found("field"))
|
||||
{
|
||||
dict.lookup("field") >> fieldName_;
|
||||
|
||||
@ -250,10 +250,7 @@ Foam::functionObjects::nearWallFields::~nearWallFields()
|
||||
|
||||
bool Foam::functionObjects::nearWallFields::read(const dictionary& dict)
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
dict.lookup("fields") >> fieldSet_;
|
||||
patchSet_ =
|
||||
|
||||
@ -83,6 +83,8 @@ Foam::functionObjects::processorField::~processorField()
|
||||
|
||||
bool Foam::functionObjects::processorField::read(const dictionary& dict)
|
||||
{
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -66,6 +66,8 @@ Foam::functionObjects::readFields::~readFields()
|
||||
|
||||
bool Foam::functionObjects::readFields::read(const dictionary& dict)
|
||||
{
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
dict.lookup("fields") >> fieldSet_;
|
||||
|
||||
return true;
|
||||
|
||||
@ -120,6 +120,8 @@ bool Foam::functionObjects::icoUncoupledKinematicCloud::read
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -195,7 +195,7 @@ Foam::functionObjects::scalarTransport::~scalarTransport()
|
||||
|
||||
bool Foam::functionObjects::scalarTransport::read(const dictionary& dict)
|
||||
{
|
||||
Info<< type() << ":" << nl;
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
phiName_ = dict.lookupOrDefault<word>("phi", "phi");
|
||||
UName_ = dict.lookupOrDefault<word>("U", "U");
|
||||
|
||||
Reference in New Issue
Block a user