CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Removing Invalid Cells?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 8, 2010, 08:27
Default Removing Invalid Cells?
  #1
syd
New Member
 
Mattia
Join Date: Mar 2010
Posts: 7
Rep Power: 7
syd is on a distinguished road
Hi everyone!

I have a problem: I'm simulating a sailboat, but, everytime I mesh it, there's always some invalid cells (in the mast), no matter how small I choose the base size and local meshing parameters.

I can't modify the CAD files which I am importing, so I guess there's no way I won't have some invalid cells...

Now, if I try to run a solution after removing these invalid cells, will it diverge?

Thank you all!
syd is offline   Reply With Quote

Old   June 8, 2010, 14:18
Default
  #2
f-w
Senior Member
 
Join Date: Apr 2009
Posts: 129
Rep Power: 8
f-w is on a distinguished road
Quote:
Originally Posted by syd View Post
Now, if I try to run a solution after removing these invalid cells, will it diverge?
Only one way to tell ... but make sure you are not removing too many. When you do this, you are basically changing the geometry, since the neighboring cells' faces get symmetry planes assigned to them.

On a side note: you should be catching and correcting bad cells at surface mesh level, so they won't make your life harder later on. You can do this manually or automatically with the surface repair tool (look it up in the manual).
f-w is offline   Reply With Quote

Old   June 8, 2010, 17:45
Default
  #3
syd
New Member
 
Mattia
Join Date: Mar 2010
Posts: 7
Rep Power: 7
syd is on a distinguished road
Quote:
Originally Posted by f-w View Post
Only one way to tell ... but make sure you are not removing too many. When you do this, you are basically changing the geometry, since the neighboring cells' faces get symmetry planes assigned to them.

On a side note: you should be catching and correcting bad cells at surface mesh level, so they won't make your life harder later on. You can do this manually or automatically with the surface repair tool (look it up in the manual).

thanks.

anyway, I removed few cells, let's say a dozen more or less...

I'll also try to wrap the surface before remeshing, I want to see if this helps...
syd is offline   Reply With Quote

Old   June 8, 2010, 18:09
Default
  #4
Member
 
Vinicius Girardi
Join Date: Mar 2009
Location: Sao Paulo, Brazil
Posts: 80
Rep Power: 8
Vinicius is on a distinguished road
You can turn on the cell quality remediation in the physics continua and remove the invalid cells with a rigth click on the region, and choosing remove invalid cells option.
Vinicius is offline   Reply With Quote

Old   June 9, 2010, 13:00
Default
  #5
f-w
Senior Member
 
Join Date: Apr 2009
Posts: 129
Rep Power: 8
f-w is on a distinguished road
Quote:
Originally Posted by Vinicius View Post
You can turn on the cell quality remediation in the physics continua and remove the invalid cells with a rigth click on the region, and choosing remove invalid cells option.
From past experience, cell quality remediation doesn't always work (especially on invalid, rather than poor-quality cells); plus, it slows down your simulation because after each iteration, computations are made to find these cells.
f-w is offline   Reply With Quote

Old   July 6, 2010, 09:45
Default
  #6
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 12
abdul099 is on a distinguished road
In my experience, a lot of problems with invalid cells are caused by a shitty CAD geometry.

As f-w said, you can try to repair the surface before generating a volume mesh. In my experience, it is the best to do it manually (if the errors are not too much), and to start with the imported surface. If it has a good quality, the surface remesher has less problems and the overall mesh quality could be increased. Got to "Representations", Right-click on "Imported surface", choose "Repair Surface". The use of the surface repair should be explained in the tutorials.

If there will still be a lot invalid cells, you should go a step back and check if your geometry is suitable for CFD and your mesh settings are suitable for this geometry. You should make sure, there are no unimportant small geometry features and/or mesh settings are appropriate to capture all geometry feature.

Best regards
abdul099 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37
physical boundary error!! kris CD-adapco 2 August 3, 2005 00:32


All times are GMT -4. The time now is 05:32.