CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   thermoBaffleProperties object settings (http://www.cfd-online.com/Forums/openfoam/93074-thermobaffleproperties-object-settings.html)

calim_cfd October 4, 2011 10:17

thermoBaffleProperties object settings
 
Hello my fellowfoamers!

i'm trying the buoyantBaffle solver and i crossed this object and i was unable to find what are the options for

************************************************** *
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermoBaffleProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoBaffle2DCoeffs
{
????
}
noThermoCoeffs
{
???
}
*********************************

i've been trying to type anything there to see if i would get any choices but just an error, plus the original tutorial runs with these settings:

********************
thermoBaffleModel none;

active no;

regionName none;

thermoBaffle2DCoeffs
{
}

noThermoCoeffs
{
}
*******************************

if i try these settings:
*************************
thermoBaffleModel thermoBaffle2D;//none;

active yes;

regionName none;

thermoBaffle2DCoeffs
{
}

noThermoCoeffs
{
}
***************************

i get

***************
Selecting baffle model thermoBaffle2D


--> FOAM FATAL ERROR:
Cannot find file "points" in directory "none/polyMesh" in times 0 down to constant

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&)
in file db/Time/findInstance.C at line 188.

FOAM exiting

*************

if i try these settings:
*************************
thermoBaffleModel thermoBaffle2D;//none;

active no;

regionName none;

thermoBaffle2DCoeffs
{
}

noThermoCoeffs
{
}
***************************


i then get
*****************


--> FOAM FATAL ERROR:
Region mesh not available

From function inline Foam::fvMesh&Foam::regionModels::regionModel::regi onMesh()
in file /opt/OpenFOAM//OpenFOAM-2.0.0/src/regionModels/regionModel/lnInclude/regionModelI.H at line 78.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::regionModels::regionModel::regionMesh() in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libthermoBaffleModels.so"
#3 Foam::regionModels::regionModel1D::regionModel1D(F oam::fvMesh const&, Foam::word const&, Foam::word const&, bool) in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libregionModels.so"
#4 Foam::regionModels::thermoBaffleModels::thermoBaff leModel::thermoBaffleModel(Foam::word const&, Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libthermoBaffleModels.so"
#5 Foam::regionModels::thermoBaffleModels::thermoBaff le2D::thermoBaffle2D(Foam::word const&, Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libthermoBaffleModels.so"
#6 Foam::regionModels::thermoBaffleModels::thermoBaff leModel::addmeshConstructorToTable<Foam::regionMod els::thermoBaffleModels::thermoBaffle2D>::New(Foam ::word const&, Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libthermoBaffleModels.so"
#7 Foam::regionModels::thermoBaffleModels::thermoBaff leModel::New(Foam::fvMesh const&) in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/libthermoBaffleModels.so"
#8
in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/bin/buoyantBaffleSimpleFoam"
#9 __libc_start_main in "/lib/libc.so.6"
#10
in "/opt/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/bin/buoyantBaffleSimpleFoam"
Abortado

**********************************


question is: are the thermal functionalities of the baffle working with the original settings? the results show they are!!!(or no?):




http://img824.imageshack.us/img824/9122/baffle.jpg


or am i beeing tricked somehow :confused:
1st baffle:source 400
2sb baffle: sink 200


how can i set those coeffs..

Any replies or comments are welcome!

TY

/calim


All times are GMT -4. The time now is 01:35.