CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] Coordinate system definition in porous zones

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

Like Tree2Likes
  • 1 Post By mp001
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2015, 18:30
Default Coordinate system definition in porous zones
  #1
New Member
 
Join Date: Jun 2015
Posts: 1
Rep Power: 0
mp001 is on a distinguished road
Hi,

I'm new with openFOAM and cfd . As assignment for a university course, I should simulate a DOC-DPF system (teacher gave me a tutorial). I have set the porous zone in that way:

porosity1
{
type DarcyForchheimer;
active yes;
cellZone catZoneCells;

DarcyForchheimerCoeffs
{
d d [0 -2 0 0 0 0 0] (2e8 1e8 1e8);
f f [0 -1 0 0 0 0 0] (0 0 0);

coordinateSystem
{
e1 (0.866 0.5 0); // asse cilindro
e2 (0 0 1); // ortogonale a e1
}
}
}

I did not completely understand the meaning of e1 and e2. I think these unitary vectors are the local coordinate system of the zone, but how can I set the origin of the system?
What is the kind of relation they have with the global system?

Thanks to all!

Best regards,
Matteo.
mizzou likes this.
mp001 is offline   Reply With Quote

Old   October 9, 2016, 18:18
Default
  #2
Member
 
Milad
Join Date: Jul 2015
Location: USA
Posts: 45
Rep Power: 7
mizzou is on a distinguished road
Quote:
Originally Posted by mp001 View Post
Hi,

I'm new with openFOAM and cfd . As assignment for a university course, I should simulate a DOC-DPF system (teacher gave me a tutorial). I have set the porous zone in that way:

porosity1
{
type DarcyForchheimer;
active yes;
cellZone catZoneCells;

DarcyForchheimerCoeffs
{
d d [0 -2 0 0 0 0 0] (2e8 1e8 1e8);
f f [0 -1 0 0 0 0 0] (0 0 0);

coordinateSystem
{
e1 (0.866 0.5 0); // asse cilindro
e2 (0 0 1); // ortogonale a e1
}
}
}

I did not completely understand the meaning of e1 and e2. I think these unitary vectors are the local coordinate system of the zone, but how can I set the origin of the system?
What is the kind of relation they have with the global system?

Thanks to all!

Best regards,
Matteo.
I also have the same question. Anybody have any idea to clarify the problem?

Thank you,
mizzou is offline   Reply With Quote

Old   December 29, 2017, 02:12
Default
  #3
New Member
 
Shadab Mohammed
Join Date: Aug 2017
Posts: 14
Rep Power: 8
Shadab is on a distinguished road
Hello everyone,

Guys Please help me with the how to set the origin, e1, e2, and e3.
__________________
---------------------------------------
Thanks & Regards:
Shadab Mohammed
Shadab is offline   Reply With Quote

Old   January 1, 2018, 09:59
Default
  #4
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 564
Rep Power: 22
tomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Quote:
porosity1
{
type DarcyForchheimer;
active yes;
cellZone catZoneCells;

DarcyForchheimerCoeffs
{
d d [0 -2 0 0 0 0 0] (2e8 1e8 1e8);
f f [0 -1 0 0 0 0 0] (0 0 0);

coordinateSystem
{
e1 (0.866 0.5 0); // asse cilindro
e2 (0 0 1); // ortogonale a e1
}
}
}
Hi,

e1 is the direction in which the first entry of the "d" and "f" vectors are acting. So in direction e1 d is 2e8, in direction e2 it is 1e8 and in direction e3 (which is perpendicular to the plane defined by e1 and e2) we also have 1e8.

The Forchheimer coefficients are 0 in all directions. The current setup means that there is more resistance in the e1 direction than in the other directions.

Hope this helps.

Regards,
Tom
Shadab likes this.
tomf is offline   Reply With Quote

Old   January 3, 2018, 02:43
Default
  #5
New Member
 
Shadab Mohammed
Join Date: Aug 2017
Posts: 14
Rep Power: 8
Shadab is on a distinguished road
Hello Tom,

Thank you very much for your quick reply and suggestion, the Chalmers University material by Haukur Elvar Hafsteinsson will give a brief details about how to setup and used in OpenFOAM.

The link for the material given below

http://www.tfd.chalmers.se/~hani/kur...ukurReport.pdf
__________________
---------------------------------------
Thanks & Regards:
Shadab Mohammed
Shadab is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] Coordinate system Import to Fluent superduke1200 ANSYS Meshing & Geometry 4 December 16, 2018 04:41
Oscillating velocity and porous zones alberto OpenFOAM Running, Solving & CFD 4 October 28, 2016 04:14
coordinate system poroussimplefoam tehzap OpenFOAM Pre-Processing 0 November 28, 2013 11:40
Roe Flux Difference Splitting Scheme in Cylindrical Coordinate System _inferno_ Main CFD Forum 0 November 8, 2013 05:10
Porous Zone coordinate system Rapha OpenFOAM 2 September 30, 2011 05:21


All times are GMT -4. The time now is 03:10.