CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

how can I set porous media in porousSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2013, 21:40
Default how can I set porous media in porousSimpleFoam
  #1
New Member
 
qing
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)
untitled.JPG

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

Quote:
--> FOAM FATAL ERROR:
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.
Quote:
refinementSurfaces
{
outlet
{
level (0 0);
}
inlet
{
level (0 0);
}
wall
{
level (0 0);
}
porosity
{
level (0 0);
faceZone porosity;
cellZone porosity;
zoneInside true;
}
}

then run the simulation, error again.

Quote:
--> FOAM FATAL ERROR:
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
  #2
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
m5m5kh is on a distinguished road
hi
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, 3 views)
File Type: jpg Gambit_ImageFile2.jpg (36.4 KB, 6 views)
File Type: jpg Gambit_ImageFile4.jpg (55.8 KB, 3 views)
m5m5kh is offline   Reply With Quote

Old   August 5, 2013, 17:48
Question porous
  #3
Member
 
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14
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
Reza
gooya_kabir is offline   Reply With Quote

Reply


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 Off
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 04:27
BIG TROUBLE with heat exchanger and porous media!! Andrea FLUENT 0 February 20, 2005 07:49


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