Personal tools
You are here: Home Forum Use Re: Do not succeed in viscous layer generation in 6.3.1

Re: Do not succeed in viscous layer generation in 6.3.1

Up to Use

Re: Do not succeed in viscous layer generation in 6.3.1

Posted by Duncan Roy van der Heul at October 13. 2011

Dear Salome users,

I am highly interested in using this new prismatic layer generation feature in salome 6.3.1

I was succesfull in replicating an example I have seen on this forum, where in a ring-shaped cylinder, the prismatic layer

is generated at the outer surface.

But my real interest is in doubly curved surfaces.

I tried the following testcase (input file for salome attached)

http://s41.photobucket.com/albums/e285/vdheul/?action=view&current=myproblem.jpg

just a small sphere inside a cylinder,

and I would like to generate a number of viscous layers on the sphere.

But when I run the case, salome gives an error.

th. 140197510698752 - Trace /local01/salome/V6_3_1/modules/src/SMESH_V6_3_1/src/SMESH/SMESH_subMesh.cxx [1740] : NETGEN_3D failed on subshape #1 with error COMPERR_OCC_EXCEPTION "OSD_SIGSEGV: SIGSEGV 'segmentation violation' detected. Address 0"

I can generate a pure tetrahedron grid on this geometry just fine.

I would really appreciate any additional info on using the viscous layer algorithm.

 

Regards,

Duncan

 

Attachments

Re: Do not succeed in viscous layer generation in 6.3.1

Posted by SMESH expert at October 13. 2011

Hello Duncan

Your case reveals a bug in the algorithm. A version of SMESH_SRC/src/StdMeshers/StdMeshers_ViscousLayers.cxx file fixing the bug is attached.

Best regards

Attachments

Re: Do not succeed in viscous layer generation in 6.3.1

Posted by Duncan Roy van der Heul at October 13. 2011

Thank you so much!

I will rebuild the module and try again.

 

Regards,

Duncan

Re: Do not succeed in viscous layer generation in 6.3.1

Posted by Duncan Roy van der Heul at October 13. 2011

Well either I did something wrong or this did not fix the problem.

I put the file in

/salome_6.3.1/SMESH_SRC_6.3.1/src/StdMeshers

and rebuild the SMESH module using

./build.sh -p /part2/duncan/salome_6.3.1/ SMESH

 

But not many files changed in the  SMESH directory.

Did I not perform the build correctly or is there maybe another file that has to be changed?

The error remains the same:

th. 139775032444864 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH_I/SMESH_Gen_i.cxx [3568] : SMESH_Gen_i::Load
th. 139775032444864 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH_I/SMESH_Gen_i.cxx [3587] : THE URL++++++++++++++
th. 139775032444864 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH_I/SMESH_Gen_i.cxx [3588] : /mnt/sda2/duncan/geometry/
th. 139775032444864 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH_I/SMESH_Gen_i.cxx [3589] : THE TMP PATH+++++++++
th. 139775032444864 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH_I/SMESH_Gen_i.cxx [3590] : /tmp/35132/
th. 139775032444864 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH_I/SMESH_Gen_i.cxx [4581] : SMESH_Gen_i::Load completed
th. 139774716770048 - Trace /dn46/SALOME/series6x631/SMESH/Debian50-64/SMESH_SRC/src/SMESH/SMESH_subMesh.cxx [1740] : NETGEN_3D failed on subshape #1 with error COMPERR_OCC_EXCEPTION "OSD_SIGSEGV: SIGSEGV 'segmentation violation' detected. Address 0"

 

Re: Do not succeed in viscous layer generation in 6.3.1

Posted by SMESH expert at October 14. 2011

Judging by path in traces (/dn46/...) you still running SMESH you downloaded. Probably your compilation failed. See logs of building steps (build_configure, configure, make, make install)  in LOGS directory in the directory where you launched build.sh.

Re: Do not succeed in viscous layer generation in 6.3.1

Posted by DAVID Gilles at October 14. 2011

Hello,

 

I confirm that the mesh computes fine with the fix.

See attached screenshot.

 

Regards,

Gilles

Attachments
Powered by Ploneboard
Document Actions