|July 10, 2011, 14:49||
buoyantboussinesqsimplefoam solver for laminar flow
Join Date: Jun 2011
Posts: 3Rep Power: 6
Hi Dear foamers
I'm a new user of openfoam and I'm trying to simulate a pipe through which a fluid passes in laminar flow and is being heated.
for this problem I'm using buoyantboussinesqsimplefoam solver and my RASProperties file is as follows:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
but openfoam does not run my case and following errors appear:
Create mesh for time = 0
Reading thermophysical properties
Reading field T
Reading field p
Reading field U
Reading/calculating face flux field phi
Selecting incompressible transport model Newtonian
Creating turbulence model
Selecting RAS turbulence model laminar
Calculating field beta*(g.h)
Starting time loop
Time = 1
LHS and RHS of - have different dimensions
dimensions : [0 3 -2 0 0 0 0] - [1 0 -2 0 0 0 0]
#0 Foam::error:rintStack(Foam::Ostream&) in "/home/alireza/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/alireza/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam:perator-(Foam::dimensionSet const&, Foam::dimensionSet const&) in "/home/alireza/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#3 Foam::tmp<Foam::GeometricField<Foam::typeOfSum<dou ble, double>::type, Foam::fvsPatchField, Foam::surfaceMesh> > Foam:perator-<double, double, Foam::fvsPatchField, Foam::surfaceMesh>(Foam::tmp<Foam::GeometricField< double, Foam::fvsPatchField, Foam::surfaceMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/home/alireza/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#4 main in "/home/alireza/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#5 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#6 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122
From function operator-(const dimensionSet& ds1, const dimensionSet& ds2)
in file dimensionSet/dimensionSet.C at line 423.
unfortunately I don't understand the source of these errors.
could anybody here help me to correct my case?
Please give me your valuable advises, please!
|July 11, 2011, 04:39||
Join Date: Feb 2011
Location: Grenoble, FRANCE
Posts: 39Rep Power: 6
the error tells you that you have wrongly defined the boundary unit.
if you compare:
[0 3 -2 0 0 0 0] with [1 0 -2 0 0 0 0]
m3.s-2 with kg.s-2 => therefore a difference in kg/m3
My guess is:
I bet your p/p_rgh initial value are define with [1 -1 -2 0 0 0 0]
Change it to: [0 2 -2 0 0 0 0] and you'll be fine.
The reason: depending the solver, density can be included or not
|May 2, 2012, 07:03||
Join Date: Mar 2012
Posts: 45Rep Power: 5
I have a similar simulation, and when I run the problem, an error ocurrs:
--> FOAM FATAL ERROR:
Invalid wall function specification
Patch type for patch top must be wall
Current patch type is patch
From function kappatJayatillekeWallFunctionFvPatchScalarField::c heckType()
in file derivedFvPatchFields/wallFunctions/kappatWallFunctions/kappatJayatillekeWallFunction/kappatJayatillekeWallFunctionFvPatchScalarField.C at line 56.
I change the geometry and everythings it's ok, but the error says that the surface "top" it's not a wall, and I don't know what I have to do,
|May 2, 2012, 08:06||
Join Date: Sep 2009
Location: Tehran, Iran
Blog Entries: 1Rep Power: 14
look at constant/polyMesh
P.S. if you read the error carefully, the solution is in it !!!
|May 3, 2012, 03:22||
Join Date: Mar 2012
Posts: 45Rep Power: 5
Another question, If I run my simulation and then I change some parameters and I run it again, paraFoam gives me the same results as the first run. How can I restart the simulation to obtain the new results? thanks!! (I change the writeInterval, but in my directory appears the same folders as before).
|Thread||Thread Starter||Forum||Replies||Last Post|
|How do I select solver options for external flow over an aircraft by fluent?||hadieliasi||FLUENT||5||May 2, 2011 03:54|
|pre-conditioning for low mach number compressible flow solver||Shenren_CN||Main CFD Forum||0||April 29, 2011 21:07|
|Solver for an incompressible, turbulent flow with heat transfer||tH3f0rC3||OpenFOAM Running, Solving & CFD||6||March 24, 2011 06:41|
|Inviscid Drag at subsonic, subcritical Mach #||Axel Rohde||Main CFD Forum||1||November 19, 2001 13:19|
|fluid flow fundas||ram||Main CFD Forum||5||June 17, 2000 21:31|