|
[Sponsors] |
Error "Unknown null-constructable patchField type kqRWallFunction for patch cyclone " |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 8, 2023, 05:59 |
Error "Unknown null-constructable patchField type kqRWallFunction for patch cyclone "
|
#1 |
New Member
Ishak
Join Date: Dec 2023
Posts: 2
Rep Power: 0 |
Hello Everyone,
I'm trying to update a PANS turbulent model that I compiled back then in OpenFoam v7 but now with the new version of OpenFoam v11 I was obliged to change some new command.. Whatever, I correct and update the code with the new command and it compiled as well. but when I try to launch a simulation I got this error : Code:
--> FOAM FATAL ERROR: Unknown null-constructable patchField type kqRWallFunction for patch cyclone of type wall for field kU Valid null-constructable patchField types are : 24 ( calculated cyclic cyclicSlip empty extrapolatedCalculated fixedEnergy fixedUnburntEnthalpy fixedValue gradientEnergy gradientUnburntEnthalpy internal mixedEnergy mixedUnburntEnthalpy nonConformalCyclic nonConformalError nonConformalProcessorCyclic processor processorCyclic slip symmetry symmetryPlane wedge zeroGradient zeroInletOutlet ) From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::word&, const Foam::word&, const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&) [with Type = double] in file lnInclude/fvPatchFieldNew.C at line 51. FOAM aborting The turbulence model called PANS and here's somme of the added constructor : Code:
fEpsilon_ ( dimensioned<scalar>::lookupOrAddToDict ( "fEpsilon", this->coeffDict_, 1.0 ) ), uLim_ ( dimensioned<scalar>::lookupOrAddToDict ( "fKupperLimit", this->coeffDict_, 1.0 ) ), loLim_ ( dimensioned<scalar>::lookupOrAddToDict ( "fKlowerLimit", this->coeffDict_, 0.1 ) ), fK_ ( IOobject ( this->groupName("fK"), this->runTime_.name(), this->mesh_, IOobject::NO_READ, IOobject::AUTO_WRITE ), this->mesh_, dimensionedScalar("zero",loLim_) ), C2U ( IOobject ( "C2U", this->runTime_.timeName(), this->mesh_ ), C1_ + (fK_/fEpsilon_)*(C2_ - C1_) ), delta_ ( LESdelta::New ( IOobject::groupName("delta", U.group()), *this, this->coeffDict_ ) ), k_ ( IOobject ( this->groupName("k"), this->runTime_.name(), this->mesh_, IOobject::MUST_READ, IOobject::AUTO_WRITE ), this->mesh_ ), kU_ ( IOobject ( this->groupName("kU"), this->runTime_.name(), this->mesh_, IOobject::NO_READ, IOobject::AUTO_WRITE ), //this->mesh_, k_*fK_, k_.boundaryField().types() ), epsilon_ ( IOobject ( this->groupName("epsilon"), this->runTime_.name(), this->mesh_, IOobject::MUST_READ, IOobject::AUTO_WRITE ), this->mesh_ ), epsilonU_ ( IOobject ( this->groupName("epsilonU"), this->runTime_.name(), this->mesh_, IOobject::NO_READ, IOobject::AUTO_WRITE ), //this->mesh_ epsilon_*fEpsilon_, epsilon_.boundaryField().types() ) |
|
Tags |
c++ code, openfoam 11, turbulence free |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
convergence problem of steady 2D film cooling calculation using chtMultiRegionFoam | ruanyg968tf | OpenFOAM Running, Solving & CFD | 1 | April 10, 2024 02:23 |
[Commercial meshers] Problem with Mesh conversion from FLUENT Meshing to OpenFOAM | mn17jyf | OpenFOAM Meshing & Mesh Conversion | 3 | November 1, 2023 09:49 |
Instability in buoyantSimpleFoam | Avandri | OpenFOAM Running, Solving & CFD | 0 | August 7, 2020 16:13 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 17:08 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |