CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] Non Orthogonal Faces > 70 deg - cfMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By peyman.davvalo.khongar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2017, 04:09
Default Non Orthogonal Faces > 70 deg - cfMesh
  #1
New Member
 
praveen@cfd-online.com's Avatar
 
Praveen Kumar R
Join Date: Apr 2014
Location: Pune, India
Posts: 19
Rep Power: 12
praveen@cfd-online.com is on a distinguished road
I am trying to generate cartesian mesh for butterfly valve using cfMesh. My observation is for lower angles of valve opening (10,20,30), there are warnings of non-orthogonal faces > 70deg and it causes the simulation to diverge. Refining the mesh helps in avoiding this warning and also helps in convergence. But the mesh count goes very high.

Why they are appearing for lower angles of valve opening? How to avoid non-orthogonal faces>70deg in meshing? Is there any command that I can include in the meshDict file, to put control over mesh quality during mesh generation.

Here is the link to download the mesh setup directory: https://drive.google.com/file/d/0B_ZwZhNE5SPLMWNWWmNESjk0STQ/view?usp=sharing
Attached Images
File Type: jpg non-orthogonal-faces.jpg (139.3 KB, 119 views)
praveen@cfd-online.com is offline   Reply With Quote

Old   May 28, 2018, 14:30
Default
  #2
New Member
 
Dr. Peyman Davvalo Khongar
Join Date: Mar 2018
Location: Helsinki (Finland)
Posts: 16
Rep Power: 8
peyman.davvalo.khongar is on a distinguished road
Moi!

There is one important thing about your case. If you look at your boundary in polymesh directory, the faces have type empty. Do you run your simulations with this type or you modify it before running your solver?

Some suggestions when you work with cfMesh:

1- Try to use fms format rather than stl. run this command:

Code:
surfaceFeatureEdges -angle 60 ButterflyValve_FusionModel_30deg_DenseSTL.stl geo.fms
and then in the meshDict use the fms format. Before running cartesianMesh, open your fms file and modify the types and the names if you want. You can see what i mean in this thread:

Symmetry patch issue in cfMesh from stl file


2- when I take a look at your mesh, the non-orthogonal faces appears near to the narrow region between your disc and pipe. (Look at the attached photo). One thing you can do is to just keep this configuration of your meshDict and add 4 objectRefinements around those narrow regions. Like a sphere:

Code:
objectRefinements
 {
 sphere
 {
    additionalRefinementLevels 1; // or cellSize SizeOfCell;
    type sphere;
    centre (0.5 0 0);
    radius 0.03;
   }
}
Of course you have to take a look at your geometry and define centre and radius by your own. Above is just an example.

Hope it helps.

Moikka,

Peyman
Attached Images
File Type: png non-ort.png (21.7 KB, 85 views)
peyman.davvalo.khongar is offline   Reply With Quote

Reply

Tags
cfmesh, mesh quality, non orthogonal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 04:21
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 11:58


All times are GMT -4. The time now is 17:08.