CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Boundary Conditions using Helyx 2.0 (http://www.cfd-online.com/Forums/openfoam-pre-processing/128905-boundary-conditions-using-helyx-2-0-a.html)

UPengineer January 23, 2014 15:50

Boundary Conditions using Helyx 2.0
 
2 Attachment(s)
Hello,

I am very new to CFD and have been using OpenFOAM with HelyxOS interface for about 6 months (off and on) helping a professor with research.

I am currently setting up de Vahl Davis' square cavity natural convection benchmark. I have been successful in reconstructing it (seen in Figure 1) using a standard high-Re k-epsilon model and giving the dimensions and temperature differences that would have a Rayleigh Number where natural convection could take place.

My question regards boundary conditions in HelyxOS. In order to set up my boundary conditions I had to make my square cavity three dimensional since it appears HelyxOS is only able to select faces to set any thermal conditions. My mesh is shown in Figure 2.

Is there any way to select edges in HelyxOS as opposed to faces so this benchmark could be 2D and a truly correct de Vahl Davis benchmark?

Thank you,
Kramer

skuznet February 18, 2014 12:19

In HelyxOS there is a patch type "empty" which you can use to make 2d case as in cavity example.

UPengineer March 7, 2014 04:45

Quote:

Originally Posted by skuznet (Post 475526)
In HelyxOS there is a patch type "empty" which you can use to make 2d case as in cavity example.

Thank you for your reply skuznet.

Another way I found to do this if anyone else is still wondering is to set up bounds in the "empty" dimension and then make only one element of mesh. This way it is a pseudo 2D shape extruded in the 3rd dimension. The extrusion does not affect the behavior of the 2D shape, because there is a single unit of mesh. This also allows boundary conditions to be set to the extruded faces as if it were an edge boundary condition.


All times are GMT -4. The time now is 14:09.