|
[Sponsors] |
August 18, 2003, 16:40 |
mass flux averaged pressure
|
#1 |
Guest
Posts: n/a
|
Does anybody knows an arbitrary way to calculate mass flux averaged quantities over curved boundary regions in prostar using a macro.
It is easy for a planar region since I can automatically define a local coordinate system but I don't how to do it for a curved region. |
|
August 19, 2003, 22:17 |
Re: mass flux averaged pressure
|
#2 |
Guest
Posts: n/a
|
I'm not positive off-hand if either of these ideas work but maybe
1)Can you define a cylindrical or spherical local coord system and get the quantities, or if its a completely general surface 2)create shells defining the surface and then smap your quantities to the shells. |
|
August 20, 2003, 05:29 |
Re: mass flux averaged pressure
|
#3 |
Guest
Posts: n/a
|
Both methods are not straightforward if the macro should run for all possible cases without modification and prior knowledge about coordinate systems and available shells.
Even if I have the shells I'm not sure how to proceed. How do I get the normal velocity/flux onto the shells? (I converted some of the getv-created shells into another cell type, but thery are still wall-shells) Is it possible to add something like "getb,flux" or "getb,snorm" ? It would make it very easy to do the averaging. In the meantime we will probably use the velocity magnitude instead of the normal velocity if the error is not too big. I have to check it. |
|
November 28, 2003, 22:05 |
Re: mass flux averaged pressure
|
#4 |
Guest
Posts: n/a
|
maybe posdat.f will be work well
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF solution variable for time-averaged mass frac? | A. S. | FLUENT | 0 | May 14, 2007 17:44 |
Mass flow Averaged quantities | Fred | Siemens | 5 | July 5, 2005 03:05 |
Mass averaged output values | Cb | Siemens | 0 | January 18, 2005 05:59 |
How are the mass flux and mass flow rate defined? | Miles | Siemens | 2 | November 7, 2002 09:45 |
mass averaged pressures across a mesh section | Haris Maharana | Siemens | 0 | March 7, 2001 05:36 |