CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   buoyantBoussinesqSimpleFoam (https://www.cfd-online.com/Forums/openfoam/89955-buoyantboussinesqsimplefoam.html)

windwin June 27, 2011 09:26

buoyantBoussinesqSimpleFoam
 
hi openfoamers

i have some trouble in using solver buoyantBoussinesqSimpleFoam
i got the following error message when i run it:


Selecting RAS turbulence model kEpsilon


--> FOAM FATAL ERROR:
Invalid wall function specification
Patch type for patch fixedWalls must be wall
Current patch type is patch



From function kqRWallFunctionFvPatchField::checkType()
in file derivedFvPatchFields/wallFunctions/kqRWallFunctions/kqRWallFunction/kqRWallFunctionFvPatchField.C at line 47.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::incompressible::RASModels::kqRWallFunctionFv PatchField<double>::checkType() in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#3 Foam::fvPatchField<double>::adddictionaryConstruct orToTable<Foam::incompressible::RASModels::kqRWall FunctionFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#4 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#5 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricB oundaryField(Foam::fvBoundaryMesh const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#6 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#7 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#8 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#9 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::incompressible::autoCreateWallFunctionField< double, Foam::incompressible::RASModels::kqRWallFunctionFv PatchField<double> >(Foam::word const&, Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#10 Foam::incompressible::autoCreateK(Foam::word const&, Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#11 Foam::incompressible::RASModels::kEpsilon::kEpsilo n(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#12 Foam::incompressible::RASModel::adddictionaryConst ructorToTable<Foam::incompressible::RASModels::kEp silon>::New(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#13 Foam::incompressible::RASModel::New(Foam::Geometri cField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&) in "/opt/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#14 main in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#15 __libc_start_main in "/lib/i686/cmov/libc.so.6"
#16 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/opt/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
Abort


i probably understand what this message wants to talk to me , but in fact in my blockMesh ,i rly difined the fixedWalls in type of wall without faults
and in the folder 0 i also defined all the variable in type wallfunction like this:


fixedWalls
{
type epsilonWallFunction;
value uniform 0.00001;
}


i m appriciate it if someone could help me figure it out !

best

MartinB June 27, 2011 09:40

Hi gaofend,

at least in two of your posted blockMeshDicts you defined your walls as "patch fixedWalls" and not "wall fixedWalls".

You can control the definition in "constant/polyMesh/boundary" once again, too.

Martin

joel.lehikoinen June 27, 2011 09:42

Have you taken a look in the constant/polyMesh/boundary -file? Does it say there that the fixedWalls patch is indeed of type wall?

windwin June 29, 2011 08:16

hi martin

thank you , you are right , it works well now !
see you in my next question :)

all the best

windwin June 29, 2011 08:18

hi Joel Lehikoinen
thank you , you are right , i fixed it out in boundary file

all the best


All times are GMT -4. The time now is 12:13.