CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Mesh refinement with Field Functions - error (https://www.cfd-online.com/Forums/star-ccm/87112-mesh-refinement-field-functions-error.html)

Dan Chambers April 11, 2011 16:16

Mesh refinement with Field Functions - error
 
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

abdullahkarimi June 25, 2011 21:52

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

famerfamer June 27, 2011 16:42

Quote:

Originally Posted by Dan Chambers (Post 303166)
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?

abdullahkarimi June 27, 2011 16:50

I ran volume mesher directly along with surface remesher...

rwryne July 6, 2011 10:52

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.

Dan Chambers July 6, 2011 15:50

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

rwryne July 6, 2011 16:32

Quote:

Originally Posted by Dan Chambers (Post 314989)
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.

karthik1413 January 30, 2014 09:01

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


All times are GMT -4. The time now is 01:46.