|
[Sponsors] |
November 15, 2011, 05:32 |
local coordinate system for porousZone
|
#1 |
New Member
Join Date: Apr 2011
Location: Magdeburg, Germany
Posts: 23
Rep Power: 15 |
Hello FOAMers,
I am working with porous media, simulating the resin flow in laminate systems. In my case the permeability is anisotropic, so depending on the direction of the reinforcement. So far I was able to define some porousZones with different coordinate systems. But if I have a geometry with radii, I need to define a local coordinate system for each cell (shown in the attachment) in order to define the permeabilities kx, ky, (kz, later for 3d problems). At the moment, I could only define the local coordinate sytems manually in the meshing preprocessor, but that would be time consuming for larger geometries. So the objective is to define a local coordinate system for each cell automatically and store it in the "/constant/porousZone" file. Note: the y1, y2, ..., yn axis should be perpendicular to the nearest wall and the x1, x2, ..., xn axis is tangential to the nearest wall. Up to now I could not find any tool in OpenFOAM solving exactly that problem and I am unfortunatly not a Pro in programming C++. Does anyone have an idea about it? Thanks in advance for any advice. |
|
Tags |
coordinate system, local, permeability |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |