Hi Syavash, 
Ignore the StarCCM+ Warning. We have tested the process also with Pointwise, GMSH meshes. What mesh generator do you use? 
The Error that you are getting is the second message: "ERROR: Node thinks it is not in any boxes."  
What this means - a vertex of your linear straight-sided mesh is too far away from the CAD STEP file. 
Some suggestions for the reason from my experience: 
  1. Your linear mesh generator has decided not follow the CAD definition. I have noticed this happening around Trailing edges, where they will just collapse the TE face for some reason ( for example h_min > h_TE) .   
  2. When generating coarse meshes, some Finite Volume Mesh generators seem to be relatively inaccurate. 
  3. Your STEP file and the linear mesh are in different units. 
  4. You are meshing from a triangulation (EX: STL ) that is too far away from the original STEP.  
Either way, you need to make sure that the linear mesh is within tolerance away from the CAD file. 
You can try to check if the coordinates of your linear mesh in the XML by : NekMesh mesh.xml mesh.xml:xml:uncompress 
Alternatively, you can visualize in Paraview and make sure that they are the expected values with: FieldConvert  mesh.xml mesh.vtu -n 2 

If all these checks are passed, try to analyze your linear mesh if something is wrong there. Maybe increase the resolution as well. 
I hope this helps. 
Kind Regards,
Kaloyan  



From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Ehsan Asgari <eh.asgari@gmail.com>
Sent: Tuesday, March 21, 2023 4:39 PM
To: Cohen, Jeremy <jeremy.cohen@imperial.ac.uk>
Cc: nektar-users <nektar-users@imperial.ac.uk>
Subject: Re: [Nektar-users] projectcad not recognized
 
Hi Jeremy

I managed to install Nektar++ with  MESHGEN support. However, when I run NekMesh with projectcad I get the following error:

[ProcessProjectCAD] WARNING: ProcessAssignCAD: Warning: This module is designed for use with Star-CCM+ meshes only; it also requires that the star mesh was created in a certain way.
[ProcessProjectCAD] ERROR: Node thinks it is not in any boxes.

It complains that it's supposed to work only with STAR-CCM meshes. Is that true?

Kind regards
syavash




On Mon, Mar 20, 2023 at 6:41 PM Jeremy Cohen <jeremy.cohen@imperial.ac.uk> wrote:
Hi Syavash,

In order for the ProjectCAD module to be available, you need to have built Nektar++ with the NEKTAR_USE_MESHGEN option enabled, i.e. either set this option to ON in the ccmake graphical interface, or if you are using CMake on the command line to configure your Nektar++ build, you need to include -DNEKTAR_USE_MESHGEN=ON.

Setting this option will also build all the of the mesh generation functionality into Nektar++ so you’ll either need to have a suitable version of OpenCASCADE or OpenCASCADE Community Edition (OCE) installed, or Nektar++ will build this from source as part of building the software. If OCE is being built from source, this may extend the build time quite significantly.

Hope this helps.

Kind regards,

Jeremy

On 20 Mar 2023, at 14:18, Ehsan Asgari <eh.asgari@gmail.com> wrote:

This email from eh.asgari@gmail.com originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.
 
Dear All,

I have installed version 5.3, but I have come across the following error when using projectcad module:

No such module: Process: projectcad

Is something wrong with my installation?

Kind regards
syavash 
_______________________________________________
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users