Meshing Techniques for Heat Transfer with Cube Shaped Objects
I have been studying OpenFOAM for about 5 weeks now and I would like
some advice on which meshing technique best suits my needs. I will be
conducting simulations of temperature distribution in internal
environments with inlets and outlets blowing air and various cube shaped
objects in the room as heat sources (e.g. people and appliances). In a
given simulation there could be 10 vents and 20 heat sources. Eventually
I would to add heat transfer through walls as well. Below is a list of
what I have come up with as potential meshing techniques, but I am not sure
which technique I should use for the specified application:
This technique is easy to understand, but I believe it will require many
meshes in order to create the necessary patches. For example, I believe eight
meshes are needed in order to create a patch for each side surface of a cube.
Also, the number of vertices will become quite large for a full simulation.
2. Create the geometry in the snappyHexMeshDict
This is the technique used in iglooWithFridges. It is more difficult to
understand than blockMesh, but it if it will simplify mesh generation
then it will be worth the time.
3. Import a .stl file and use snappyHexMesh
I have access to CAD software, so if this is a good technique for my
application, then I will look into it further. Will it be difficult to
specify boundary conditions, such as the inlet air velocity of the
inlets (probable will model them as rectangular cubes with air blowing
out the sides) and the heat flux of the person cubes?
4. Import a mesh from third party software
I don't currently have access to any third party software, so I would
prefer not to use this technique. Also, for a purely rectilinear mesh I
don't think this is necessary.
Any suggestions for meshing techniques are welcome. Thank you for your
Meshing and Outlet Advice
Thanks for the reply. I haven't looked into Salome yet, but I may try it out sometime.
I have found the geometry tool included in snappyHexMesh to be quite useful. I am able to create box shapes very easily and remove them from the mesh just like in iglooWithFridges. This creates a patch that includes all faces of the box and therefore makes it easy to specify the heat sources.
For the inlets, I am able to set the velocity and temperature of a portion of the ceiling, floor, or wall patches using funkySetFields fairly easily.
The question that remains is how to model the outlets for the room. Like with the inlets I am specifying using funkySetFields, I would like to specify outlet conditions as portions of the ceiling or floor patch.
Is there any easy way to do this, or do I have to specify an entire patch as an outlet?
Thank you for the help.
CastNet for OpenFOAM
I found the third party software called CastNet http://www.dhcae-tools.com/OpenFOAM.htm which I have found quite useful. Models can be importing in .stl, para solid, or asics formats. This software enables users to enter OpenFOAM specific parameters for nearly all of the built in solvers and it is done using a GUI. Meshing can be done by setting the snappyHexMesh parameters or with the internal meshing software of CastNet. Once all parameters are set and the mesh is created the software exports all of the input files required to run OpenFOAM. On the website it says the cost is less than 300 euros per month. So, other than the fact that it is not free;), this seems like the best option for me.
Does anyone have any other suggestions?
|All times are GMT -4. The time now is 22:29.|