|
[Sponsors] |
June 26, 2024, 09:36 |
Patch error
|
#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:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::nutWallFunctionFvPatchScalarField::nutWallFu nctionFvPatchScalarField(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #3 Foam::nutkWallFunctionFvPatchScalarField::nutkWall FunctionFvPatchScalarField(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #4 Foam::fvPatchField<double>::adddictionaryConstruct orToTable<Foam::nutkWallFunctionFvPatchScalarField >::New(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #5 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #6 Foam::GeometricBoundaryField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam:imensionedField<d ouble, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #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 |
|
June 27, 2024, 04:33 |
|
#2 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,232
Rep Power: 29 |
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 Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for mean residence time | JA_95 | FLUENT | 9 | November 20, 2023 00:36 |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 07:25 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |