CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

how can I set porous media in porousSimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 29, 2013, 21:40
Default how can I set porous media in porousSimpleFoam
New Member
Join Date: Jul 2013
Posts: 1
Rep Power: 0
shaoqi is on a distinguished road
good morning everyone, and sorry for my poor english

I meet a problem with porousSimpleFoam calculator.
I use solidworks to build the model, use blender and swiftsnap add-in to generate the mesh. The model is as attached(the model is continued, there is no space between three part)

And there is somthing wrong with the meshes, the file cellsZone is only 871B (empty), when I start the simulation,some error as follows happening.

Creating porous zone: porosity

cannot find porous cellZone porosity
From function Foam:orousZone:orousZone(const fvMesh&, const word&, const dictionary&)
in file cfdTools/general/porousMedia/porousZone.C at line 92.
FOAM exiting

than change snappyHexMeshDict as below, the cellZones file changes to 7.2MB.
level (0 0);
level (0 0);
level (0 0);
level (0 0);
faceZone porosity;
cellZone porosity;
zoneInside true;

then run the simulation, error again.

This mesh contains patches of type empty but is not 1D or 2D
by virtue of the fact that the number of faces of this
empty patch is not divisible by the number of cells.
From function emptyFvPatchField<Type>::updateCoeffs()
in file fields/fvPatchFields/constraint/empty/emptyFvPatchField.C at line 150.
FOAM exiting

Do my words convey my meaning to you?

Thanks for help

furthermore, my ultimate goal is know how to set porous easier (without compiling),
if anyone has some relevant cases to share, ignore my case. Thanks again.
shaoqi is offline   Reply With Quote

Old   July 30, 2013, 16:25
Default same problem
Senior Member
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 112
Rep Power: 7
m5m5kh is on a distinguished road
I have the same problem ,I import a fluent mesh to openfoam
but I do not know how to define a porous zone. someone told me I should use topoSetDict .I am not so advanced to modify topoSetDict and I need your help. please help me if you can
Attached Images
File Type: jpg Gambit_ImageFile1.jpg (11.6 KB, 2 views)
File Type: jpg Gambit_ImageFile2.jpg (36.4 KB, 4 views)
File Type: jpg Gambit_ImageFile4.jpg (55.8 KB, 2 views)
m5m5kh is offline   Reply With Quote

Old   August 5, 2013, 17:48
Question porous
Join Date: Feb 2012
Posts: 67
Rep Power: 7
gooya_kabir is on a distinguished road
Dear friend,

As you are familiar with porous solver in openfoam I have question.I want to simulate the flow in the oil resevoir condition. I've seen many porous solver in the openfoam. but I want to simulate the geometry which has been given from tomography data (3D geometry). is it possible to simulate this condition? or porous solvers in openfoam just take some properties such as porosity and solve the equations according to them?

Many thanks for your helpful comment
gooya_kabir is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Porous media boundary conditions aggie FLUENT 3 June 17, 2012 09:51
combustion in porous media burner zuby ANSYS 0 July 27, 2009 02:26
How to set directions for porous media ? Judpom FLUENT 0 May 11, 2009 10:22
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 05:27
BIG TROUBLE with heat exchanger and porous media!! Andrea FLUENT 0 February 20, 2005 08:49

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