[Gmsh] gmsh and Plot3d interactions

Christophe Geuzaine cgeuzaine at uliege.be
Wed Dec 2 18:51:26 CET 2020



> On 27 Nov 2020, at 11:20, Christophe Geuzaine <cgeuzaine at uliege.be> wrote:
> 
> 
> 
>> On 26 Nov 2020, at 20:00, Miroslav Grulovic <miro_grulovic at yahoo.com> wrote:
>> 
>> Hello there
>> 
>> Ia am involved in little project using NASA PMARC14 software, and recently noticed some Plot3D capabilities which are aso build in GMSH. However I have noticed that GMSH  ( version 4.5.6 ) perfectly read p3d files and exporting them to NASTRAN format bdf, but when tried to convert very same file back to Plot3D format, error message pops up .
>> Error reads  " Warning : No structured grid to save " and creates empty p3d file.
>> Appears that software does not recognizes its own routine so please advise, do I am doing something wrong or software is not capable of such as transformation.
>> 
> 
> Indeed, currently when we read structured meshes we import them as general unstructured grids.

Well actually I was wrong, and we do actually already keep track of the structured information in the reader.

To test:

// create p3d file
gmsh benchmarks/3d/sphere_in_cube_hexa.geo -3 -o a.p3d

// read it back and save it again
gmsh a.p3d -save -o b.p3d

Works fine with the latest Gmsh.

Christophe


> The P3D reader could be changed to keep track of the structured information. Maybe open an issue on the gitlab to keep track of this feature request?
> 
> Christophe
> 
> 
>> Cheers thanks for response and stay safe.
>> 
>> 
>> Miro  
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
> 
>> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science 
> http://people.montefiore.ulg.ac.be/geuzaine
> 
> 
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://people.montefiore.ulg.ac.be/geuzaine







More information about the gmsh mailing list