Difference between revisions of "Meshing with cfMesh by Jozsef Nagy"

From OpenFOAM Wiki
Jump to navigation Jump to search
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* '''affiliation''': eulerian-solutions e.U., Linz, Austria
 
* '''affiliation''': eulerian-solutions e.U., Linz, Austria
 
* '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail>
* '''OpenFOAM versions''': v1912
+
* '''OpenFOAM versions''': v2006
 
* '''Published under''': CC BY-NC-ND license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''Published under''': CC BY-NC-ND license ([https://creativecommons.org/licenses creative commons licenses])
  
Line 21: Line 21:
  
 
{| class="wikitable"
 
{| class="wikitable"
| geometry || STL files    
+
| geometry || [https://github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/JozsefNagy/geometry.zip STL files
 
|-
 
|-
 
| mesh || you will create the mesh yourself   
 
| mesh || you will create the mesh yourself   
Line 49: Line 49:
  
 
  cfMesh is only available for OpenFOAM versions from www.openfoam.com out-of-the-box, not for www.openfoam.org. For the second you have to compile it yourself!
 
  cfMesh is only available for OpenFOAM versions from www.openfoam.com out-of-the-box, not for www.openfoam.org. For the second you have to compile it yourself!
 +
 +
[[File:Dog_JN.png|750px|center|Surface mesh with cfMesh]]

Revision as of 04:55, 28 July 2020

Go back to Collection by authors.

Go back to Meshing.

Meshing with cfMesh

Guided video tutorial

Provided material

For this tutorial the following material will be provided:

geometry STL files
mesh you will create the mesh yourself
simulation case optionally you can run any simulation as a homework
commands cartesianMesh

Description

In this tutorial you will learn how you create a mesh with cfMesh using a certain set of STL files.

Commands to be executed:

cartesianMesh

Check out the User Guide (see details in the video) for advanced meshing settings.

In this tutorial we will take a look at the settings for the basic mesh resolution as well as local refinement along STL files. We will also add layers to our mesh.

Prerequisites

This tutorial assumes basic knowledge in the handling of both OpenFOAM and Linux. A working installation of the versions indicated above is needed. A working version of Paraview is required.

cfMesh is only available for OpenFOAM versions from www.openfoam.com out-of-the-box, not for www.openfoam.org. For the second you have to compile it yourself!
Surface mesh with cfMesh