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

Mesh refinement with Field Functions - error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2011, 15:16
Default Mesh refinement with Field Functions - error
  #1
New Member
 
Dan Chambers
Join Date: Dec 2010
Posts: 14
Rep Power: 5
Dan Chambers is on a distinguished road
Hi all,

I'm trying to refine my mesh through the use of field functions in order to increase the mesh density at the vortex core of a delta wing. To do this I'm using Lambda 2 as the scalar parameter with the following field function:

($Lambda2 < -10000 && $Lambda2 > -20000000)? 0.00175:0.02

Which to my understanding should mean that any area with a value between -10,000 and -20,000,000 should have the mesh refinemnt to a size of 0.00175m, and any other area 0.02m.

I have applied this to an XYZ table before applying the mesh table to the polyhedral mesher in the continua-mesh-models-Polyhedral mesher node.

When I run this, a mesh seems to be generated through to the data being interpolation from the old mesh to the new mesh, however at this point I recieve a floating point error saying the resulting mesh will be deleted with the following error in the script bar:

Error during volume meshing, deleting resulting mesh
A floating point exception has occurred: floating point exception [Invalid operation]. The specific cause cannot be identified. Please refer to the troubleshooting section of the User's Guide.
Command: GenerateVolumeMesh
CompletedCommand: GenerateVolumeMesh
In: [Machine::main]
Slave Message:
Slave Name: Proc[0]
Slave Rank: 0
error: Server Error

Has anyone experienced this error before/ or can advise me on any steps to take to try and get a successful refinement mesh?

Many thanks
Dan Chambers
Dan Chambers is offline   Reply With Quote

Old   June 25, 2011, 20:52
Default
  #2
New Member
 
Abdullah Karimi
Join Date: Nov 2010
Posts: 20
Rep Power: 5
abdullahkarimi is on a distinguished road
hey I am facing the same problem but still unable to figure out the reason. let me know if you get rid of this problem..
thanx
abdullahkarimi is offline   Reply With Quote

Old   June 27, 2011, 15:42
Default
  #3
Member
 
Join Date: Apr 2011
Location: US
Posts: 43
Rep Power: 5
famerfamer is on a distinguished road
Quote:
Originally Posted by Dan Chambers View Post
Hi all,

I'm trying to refine my mesh through the use of field functions in order to increase the mesh density at the vortex core of a delta wing. To do this I'm using Lambda 2 as the scalar parameter with the following field function:

($Lambda2 < -10000 && $Lambda2 > -20000000)? 0.00175:0.02

Which to my understanding should mean that any area with a value between -10,000 and -20,000,000 should have the mesh refinemnt to a size of 0.00175m, and any other area 0.02m.

I have applied this to an XYZ table before applying the mesh table to the polyhedral mesher in the continua-mesh-models-Polyhedral mesher node.

When I run this, a mesh seems to be generated through to the data being interpolation from the old mesh to the new mesh, however at this point I recieve a floating point error saying the resulting mesh will be deleted with the following error in the script bar:

Error during volume meshing, deleting resulting mesh
A floating point exception has occurred: floating point exception [Invalid operation]. The specific cause cannot be identified. Please refer to the troubleshooting section of the User's Guide.
Command: GenerateVolumeMesh
CompletedCommand: GenerateVolumeMesh
In: [Machine::main]
Slave Message:
Slave Name: Proc[0]
Slave Rank: 0
error: Server Error

Has anyone experienced this error before/ or can advise me on any steps to take to try and get a successful refinement mesh?

Many thanks
Dan Chambers
Did you run the surface mesh or volume mesh directly?
famerfamer is offline   Reply With Quote

Old   June 27, 2011, 15:50
Default
  #4
New Member
 
Abdullah Karimi
Join Date: Nov 2010
Posts: 20
Rep Power: 5
abdullahkarimi is on a distinguished road
I ran volume mesher directly along with surface remesher...
abdullahkarimi is offline   Reply With Quote

Old   July 6, 2011, 09:52
Default
  #5
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 8
rwryne is on a distinguished road
Did you ever figure out where your error is coming from?

I am getting an error as well:

Code:
starting: Apply Global Limits
Error during surface remeshing, deleting resulting mesh
Cannot find any close point
Command: GenerateSurfaceMesh
   CompletedCommand: GenerateSurfaceMesh
   In: [Machine::main]
   Recoverability: Non-recoverable
   ServerStack: [
libStarNeo.so: NonRecoverableError::createInitializerProperties(Properties const&), 
libStarNeo.so: NonRecoverableError::NonRecoverableError(std::string const&, Properties const&, std::string const&), 
libStarNeo.so: Controller::executeCommand(Command&, Properties const&, Properties&), 
libStarNeo.so: Controller::processCommands(), 
libStarMachine.so: CommandController::SerialMasterCommandLoop::start(), 
libStarMachine.so: CommandController::processCommands(), 
libStarMachine.so: Machine::startServerHost(int, char**, std::map<std::string, unsigned int, std::less<std::string>, std::allocator<std::pair<std::string const, unsigned int> > >&), 
libStarMachine.so: Machine::main(int, char**), 
star-ccm+, 
libc.so.6(__libc_start_main+0xf4), 
star-ccm+]
My error occurs during the surface remesher step when I have the mesh size table applied.
rwryne is offline   Reply With Quote

Old   July 6, 2011, 14:50
Default
  #6
New Member
 
Dan Chambers
Join Date: Dec 2010
Posts: 14
Rep Power: 5
Dan Chambers is on a distinguished road
Hey mate, sorry for the late reply!

The way I found arround it was to run a trimmer mesh with the AMR table, create the mesh and then switch to the poly mesher with the same AMR table and it successfully meshed everytime. Guessing its just a qwerk in the software!

Dan
Dan Chambers is offline   Reply With Quote

Old   July 6, 2011, 15:32
Default
  #7
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 8
rwryne is on a distinguished road
Quote:
Originally Posted by Dan Chambers View Post
Hey mate, sorry for the late reply!

The way I found arround it was to run a trimmer mesh with the AMR table, create the mesh and then switch to the poly mesher with the same AMR table and it successfully meshed everytime. Guessing its just a qwerk in the software!

Dan

Thank you for the info, I will give it a try. Hopefully it fixes my problem, even though it is slightly different than yours.

We just got v6.04 installed on our workstations today, I will see if the quirk got fixed between the versions before I try your method.
rwryne is offline   Reply With Quote

Old   January 30, 2014, 08:01
Default
  #8
New Member
 
bharadwaj karthik
Join Date: Oct 2013
Posts: 4
Rep Power: 2
karthik1413 is on a distinguished road
Hello i am facing the similar problem when i am trying to implement a filed function and i'm using trimmer mesh .Can someone post in detail about generating surface or volume mesh using field functions table?Thanks!!


Regards

Karthik
karthik1413 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
Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Native Meshers: snappyHexMesh and Others 10 May 29, 2014 11:49
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 03:23
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 19:43
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 22:44.