You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And then, of course, we need to update how we access kappaEff, nu, etc:
CHT/KappaEffective.H:28:31: error: ‘turbulenceModel’ in namespace ‘Foam::compressible’ does not name a type
const Foam::compressible::turbulenceModel & turbulence_;
^
CHT/KappaEffective.H:58:33: error: ‘turbulenceModel’ in namespace ‘Foam::incompressible’ does not name a type
const Foam::incompressible::turbulenceModel & turbulence_;
^
CHT/KappaEffective.C: In constructor ‘preciceAdapter::CHT::KappaEff_Compressible::KappaEff_Compressible(const Foam::fvMesh&)’:
CHT/KappaEffective.C:16:1: error: class ‘preciceAdapter::CHT::KappaEff_Compressible’ does not have any field named ‘turbulence_’
turbulence_(
^
CHT/KappaEffective.C:17:23: error: ‘turbulenceModel’ is not a member of ‘Foam::compressible’
mesh.lookupObject<compressible::turbulenceModel>(turbulenceModel::propertiesName)
^
CHT/KappaEffective.C:17:23: error: ‘turbulenceModel’ is not a member of ‘Foam::compressible’
CHT/KappaEffective.C:17:54: error: ‘turbulenceModel’ has not been declared
mesh.lookupObject<compressible::turbulenceModel>(turbulenceModel::propertiesName)
^
CHT/KappaEffective.C: In member function ‘void preciceAdapter::CHT::KappaEff_Compressible::extract(uint, bool)’:
CHT/KappaEffective.C:31:61: error: ‘turbulence_’ was not declared in this scope
kappaEff_= patchInterpolator.faceToPointInterpolate(turbulence_.kappaEff() ().boundaryField()[patchID]);
^
CHT/KappaEffective.C:36:21: error: ‘turbulence_’ was not declared in this scope
kappaEff_ = turbulence_.kappaEff() ().boundaryField()[patchID];
^
CHT/KappaEffective.C: In constructor ‘preciceAdapter::CHT::KappaEff_Incompressible::KappaEff_Incompressible(const Foam::fvMesh&, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)’:
CHT/KappaEffective.C:58:1: error: class ‘preciceAdapter::CHT::KappaEff_Incompressible’ does not have any field named ‘turbulence_’
turbulence_(
^
CHT/KappaEffective.C:59:23: error: ‘turbulenceModel’ is not a member of ‘Foam::incompressible’
mesh.lookupObject<incompressible::turbulenceModel>(turbulenceModel::propertiesName)
^
CHT/KappaEffective.C:59:23: error: ‘turbulenceModel’ is not a member of ‘Foam::incompressible’
CHT/KappaEffective.C:59:56: error: ‘turbulenceModel’ has not been declared
mesh.lookupObject<incompressible::turbulenceModel>(turbulenceModel::propertiesName)
^
CHT/KappaEffective.C: In member function ‘void preciceAdapter::CHT::KappaEff_Incompressible::extract(uint, bool)’:
CHT/KappaEffective.C:128:30: error: ‘turbulence_’ was not declared in this scope
const scalarField & nu = turbulence_.nu() ().boundaryField()[patchID];
^
All this is particularly interesting in the context of #32 and #128, but it looks exactly like the type of radical change I was hoping to not happen:
we will have an issue if fundamental functions we use all the time start changing
The text was updated successfully, but these errors were encountered:
turbulenceModel::propertiesName is now used directly as turbulenceProperties, if I understand correctly - before/after (this is something we could always use).
I am still not sure how to access kappaEff in the new structure. Current error:
CHT/KappaEffective.C:31:73: error: ‘const momentumTransportModel {aka const class Foam::CompressibleMomentumTransportModel<Foam::fluidThermo>}’ has no member named ‘kappaEff’
kappaEff_= patchInterpolator.faceToPointInterpolate(turbulence_.kappaEff() ().boundaryField()[patchID]);
According to this commit, it looks like we need to add a new ThermophysicalTransportModel.
We have a problem with radical changes in OpenFOAM.org, already released in OpenFOAM-dev 20200426 and mainly originating from this commit.
Trying to build the adapter currently fails with:
I am currently not sure how much this change affects us, but it could be anywhere from "a little" to "vastly".
As a starting points, I see this change everywhere:
as well as in
Make/options
:and
Another related error I got:
Related changes:
as well as in the
Make/options
:and
And then, of course, we need to update how we access
kappaEff
,nu
, etc:All this is particularly interesting in the context of #32 and #128, but it looks exactly like the type of radical change I was hoping to not happen:
The text was updated successfully, but these errors were encountered: