|
[Sponsors] |
Interface Matching and Field Function problems |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 3, 2009, 12:20 |
Interface Matching and Field Function problems
|
#1 |
New Member
Henco
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
Good day.
I'm a fairly new to CFD and am currently working on Star-CCM+ 4.02.007 on OpenSuse 11.1. First off, im trying to simulate the fluid flow through an annular packed bed with the bed being presented by a porous region in my model. I however also have to take the inlet header into account. This means that i have 24 interfaces between my header and bed. Now when i run the surface remesher the output window shows that some of the edges of the interfaces were matched using "edge zipping" while other others were "conformally matched". Is this any cause for worry? Secondly, since the pressure drop over the packed bed (porous) region isn't correctly predicted by the availible models (Ergun's equation was used in defining the inertial and viscous resistance of the porous region) I want to ajust the Dynamic viscosity in this porous region by means of a field function. Say the dynamic viscosity is 1.79e-5 Pa.s and for the porous region i want a value 11 times that of the normal unmodified dynamic viscosity and the porous region extends from a height of Z=0.0m to Z = 0.6m I then define my field function as follow: (($$Position("Cylindrical")[2] >= 0.0 && $$Position("Cylindrical")[2] <= 0.6)?(1.79e-5)(1.79e-5)*11)) When i test the field function by plotting it in a scalar scene it works fine. When i go to Continua - Pysics 1 - Models - Gas - Air - Dynamic Viscosity and change the input from "Constant" to "Field Function" and apply the above mentioned field function I suddenly get an error message saying that the field function is incorrecty defined. I have checked that its defined as a scalar and that the units are also Pa.s but the problem doesn't want to go away. Is this even possible and am i doing something wrong? Is there an alternative way of doing this? Any help will be greatly appreciated and sorry for the long post. Thanks Henco |
|
July 4, 2009, 03:44 |
|
#2 |
New Member
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
May be this will not be of any use but did you try using the scalar "$Centroid" to define position.
Also its seems like you don't have a colon in your equation; does that matter? As regards your meshing is the edge zipper the tool that does the conformal matching for inter region boundaries? If so I don't think you need to worry once it actually meshed for you. |
|
July 5, 2009, 07:15 |
|
#3 |
New Member
Henco
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
Highnelly
As for the meshing, i really dont know about the meshing, it might ba that star-ccm+ uses the edge zipper to match the perimeters of interface surfaces. As for the using $$Centroid in the field function, that cleared up the problem. Thanks again. But now i'm wondering, why $$Centroid works but $$Position doesn't? Any Ideas? Thanks again for the help, really appreciate it |
|
July 6, 2009, 09:33 |
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 260
Rep Power: 18 |
Don't think about... that's ccm.
I found in the last days serval bugs... I hope in 4.04 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Grid refinement with wall functions | Mark Render | Main CFD Forum | 8 | May 2, 2000 08:09 |