|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Deny
Join Date: May 2024
Posts: 11
Rep Power: 2 ![]() |
Hello Guys,
I am running the helical pipe simulation using the kOmegaSST model, but when I try to run case it show the following error: -> FOAM FATAL ERROR: Invalid wall function specification Patch type for patch walls must be wall Current patch type is patch From function virtual void Foam::nutWallFunctionFvPatchScalarField::checkType () in file derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C at line 45. FOAM aborting #0 Foam::error: ![]() #1 Foam::error::abort() at ??:? #2 Foam::nutWallFunctionFvPatchScalarField::nutWallFu nctionFvPatchScalarField(Foam::fvPatch const&, Foam: ![]() #3 Foam::nutkWallFunctionFvPatchScalarField::nutkWall FunctionFvPatchScalarField(Foam::fvPatch const&, Foam: ![]() #4 Foam::fvPatchField<double>::adddictionaryConstruct orToTable<Foam::nutkWallFunctionFvPatchScalarField >::New(Foam::fvPatch const&, Foam: ![]() #5 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam: ![]() #6 Foam::GeometricBoundaryField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam: ![]() #7 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) at ??:? #8 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields() at ??:? #9 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) at ??:? #10 Foam::eddyViscosity<Foam::RASModel<Foam::incompres sibleMomentumTransportModel> >::eddyViscosity(Foam::word const&, Foam::geometricOneField const&, Foam::geometricOneField const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #11 Foam::kOmegaSST<Foam::eddyViscosity<Foam::RASModel <Foam::incompressibleMomentumTransportModel> >, Foam::incompressibleMomentumTransportModel>::kOmeg aSST(Foam::word const&, Foam::geometricOneField const&, Foam::geometricOneField const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #12 Foam::RASModel<Foam::incompressibleMomentumTranspo rtModel>::adddictionaryConstructorToTable<Foam::RA SModels::kOmegaSST<Foam::incompressibleMomentumTra nsportModel> >::New(Foam::geometricOneField const&, Foam::geometricOneField const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #13 Foam::RASModel<Foam::incompressibleMomentumTranspo rtModel>::New(Foam::geometricOneField const&, Foam::geometricOneField const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #14 Foam::incompressibleMomentumTransportModel::adddic tionaryConstructorToTable<Foam::RASModel<Foam::inc ompressibleMomentumTransportModel> >::NewincompressibleMomentumTransportModel(Foam::g eometricOneField const&, Foam::geometricOneField const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #15 Foam::autoPtr<Foam::incompressibleMomentumTranspor tModel> Foam::momentumTransportModel::New<Foam::incompress ibleMomentumTransportModel>(Foam::incompressibleMo mentumTransportModel::alphaField const&, Foam::incompressibleMomentumTransportModel::rhoFie ld const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #16 Foam::incompressibleMomentumTransportModel::New(Fo am::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::viscosity const&) at ??:? #17 Foam::solvers::incompressibleFluid::incompressible Fluid(Foam::fvMesh&) at ??:? #18 Foam::solver::addfvMeshConstructorToTable<Foam::so lvers::incompressibleFluid>::New(Foam::fvMesh&) at ??:? #19 Foam::solver::New(Foam::word const&, Foam::fvMesh&) at ??:? #20 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun" #21 ? in "/lib/x86_64-linux-gnu/libc.so.6" #22 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #23 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bi After this error I change my boundary patch from polyMesh/boundary, but when i run the case, OpenFOAM automatically changes walls patch to patch. here I am attaching the whole case file. Many Thanks in advance |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27 ![]() |
Hello,
Quote:
Or you can use the changeDictionary utility to automatically update your boundary file, and you'll have to add it in your Allrun script just before foamRun. Regards, Yann |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for mean residence time | JA_95 | FLUENT | 9 | November 19, 2023 23:36 |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 06:25 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |