CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   free-surface model (

antonio January 14, 2010 08:01

free-surface model
Hi all.

I started recently to work with CFX. I am trying to implement a free-surface model.

I have already defined the geometry and the mesh. When I was defining the geometry I used the slice operation in order to have different types of meshes for air and water. However when I set the mesh I found that I could have a very good global mesh (for air and water) using exactly the same mesh (Tetrahedrons elements with Patch Independent Algorithm).

At the present moment I have launched the CFX-Pre. My main questions are (I am following the tutorial "free surface flow over a Bump"):
1) When I am creating the domain I`m giving the basic settings for air and basic settings and fluid models for water. However when I check their features in the "Automatic Default Domain " CFX assumes equal settings for air and water...:confused:

2) How can I define periodic boundary conditions?Basically I just want to give to the model the water height and the inclination of the bed and I want that the model compute the discharge...
Many thanks

stumpy January 14, 2010 10:48

1. Follow the tutorial again. You should only have 1 domain that contains 2 fluids, rather than 2 domains with 1 fluid each
2. The water height is part of the solution, you cannot specify it (expect at inlet boundaries).

antonio January 14, 2010 11:33

Dear Stumpy:

Thanks a lot for your suggestions. Just one more question. Should I review the mesh that I have created or can I transform in CFX-pre the mesh in order to have just a single domain?


stumpy January 14, 2010 13:09

You can have a single domain containing both pieces. However, the mesh would need to match (i.e. not a GGI) since GGI's can have problems when aligned to a free surface.

fab February 9, 2010 18:40

temperature on the botttom
hello everybody, im modelling the free surface too
i have the following problem:
the bottom should have 2 different temperatures! how i can make it with the if -function?
my bottom is 40 mm on the how how can i declare it on the middel of the bottom without having a temperature-switch?it should be 25[C] left and 30[C] right from the middel!
maybe with a linear function?
thank u

zandi February 16, 2010 04:21


Originally Posted by stumpy (Post 242616)
2. The water height is part of the solution, you cannot specify it (expect at inlet boundaries).

but we can specify it
in cfx 11 see tutorial 7 bondary detail for inlet and Creating Expressions part
and instead of normal velocity in inlet select static pressure and put UpPress function for value
i think it works

All times are GMT -4. The time now is 11:55.