|
[Sponsors] |
January 28, 2009, 05:47 |
import matrix from .txt
|
#1 |
Guest
Posts: n/a
|
Hello,
i'm a newby in FLUENT and specially in UDFs, so I'm hoping to find some help here. I need to simulate the flow through a porous medium with different local porosities. This porosities are given as a matrix in a .txt file. For example: 0.8 0.5 0.3 0.2 0.7 0.2 0.1 0.0 0.4 0.1 0.0 0.0 Each porosity should be assigned to a cell in the flow field, which means that the rectangular geometry of the flow field has to be divided exactly in the number of local porosities. I know I have to use the DEFINE_PROFILE macro for porosities, but besides that I'm clueless. Any help please? Thanks! |
|
January 28, 2009, 05:48 |
Re: import matrix from .txt
|
#2 |
Guest
Posts: n/a
|
Ok, the matrix did not come right. I meant a 3x4 matrix
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Addressing matrix element and reuse of system matrix | marziolettich | OpenFOAM Running, Solving & CFD | 2 | February 19, 2008 06:04 |
Matrix | shuo | OpenFOAM Running, Solving & CFD | 4 | October 23, 2006 04:09 |
Roe matrix | srinath | Main CFD Forum | 2 | March 26, 2003 11:39 |
about Roe matrix ! | Root Willow | Main CFD Forum | 2 | October 15, 2002 05:26 |
Elemtary matrix to CSR global matrix | xueying | Main CFD Forum | 2 | September 24, 2002 10:44 |