Thank you very much for your detailed answer. I need to save both physical 
volume and physical surface. Because the physical surface is required to assign 
boundary condition, and physical volume is required to assign fluid domain in 
openfoam.


__

Best Regards
Sudipta Saha, MS, EIT
Spent Fuel Modeling Intern, Idaho National Laboratory

PhD Candidate in Mechanical Engineering
Reacting System and Advanced Energy Research Lab
Graduate Council Representative, Graduate Student Association
LinkedIn<https://www.linkedin.com/in/sudipta-saha-usc/> | 
ResearchGate<https://www.researchgate.net/profile/Sudipta_Saha13> | 
GoogleScholar<https://scholar.google.com/citations?user=xDVKlBcAAAAJ&hl=en> | 
Website<https://sudiptasaha.weebly.com/>
[cid:d08a1fbf-363c-48af-89a7-5208eda51b71]



________________________________
From: Jeremy Theler <[email protected]>
Sent: Friday, July 24, 2020 5:19 AM
To: SAHA, SUDIPTA <[email protected]>; [email protected] <[email protected]>
Subject: Re: [Gmsh] Small element size factor does not work

RT(F)M, section F.5 question 3 in 
http://gmsh.info/doc/texinfo/gmsh.html#Mesh-module-questions<https://protect2.fireeye.com/v1/url?k=0df51d36-536d8ff3-0df553f7-86982a5fc978-6c42e1c918e71f54&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=http%3A%2F%2Fgmsh.info%2Fdoc%2Ftexinfo%2Fgmsh.html%23Mesh-module-questions>

How can I only save tetrahedral elements (not triangles and lines)?

By default, if physical groups are defined, the output mesh only contains those 
elements that belong to physical entities. So to save only 3D elements, simply 
define one (or more) physical volume(s) and don’t define any physical surfaces, 
physical curves or physical points.

Also, section 6.2 
http://gmsh.info/doc/texinfo/gmsh.html#Elementary-entities-vs-physical-groups<https://protect2.fireeye.com/v1/url?k=4d5bff28-13c36ded-4d5bb1e9-86982a5fc978-c35de917066ff0b3&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=http%3A%2F%2Fgmsh.info%2Fdoc%2Ftexinfo%2Fgmsh.html%23Elementary-entities-vs-physical-groups>
 is relevant:

To save all mesh elements wether or not physical groups are defined, use the 
Mesh.SaveAll option (see Mesh options 
list<https://protect2.fireeye.com/v1/url?k=815b6607-dfc3f4c2-815b28c6-86982a5fc978-7f6cdf43098fe972&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=http%3A%2F%2Fgmsh.info%2Fdoc%2Ftexinfo%2Fgmsh.html%23Mesh-options-list>)
 or specify -save_all on the command line. In some formats (e.g. MSH2), setting 
Mesh.SaveAll=1 will however discard all physical group definitions.




Regards
--
Jeremy Theler
www.seamplex.com<https://protect2.fireeye.com/v1/url?k=c6583cb6-98c0ae73-c6587277-86982a5fc978-41704a233b0bf57b&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=http%3A%2F%2Fwww.seamplex.com%2F>



On Fri, 2020-07-24 at 03:18 +0000, SAHA, SUDIPTA wrote:
Hello I am trying mesh a .geo filecommand line. I have added following line in 
the script to create 3D mesh  ( 2D meshing algorithm Automatic, 3D meshing 
algorithm Frontal, and Element size factor 0.02)

Mesh.Algorithm = 2;
Mesh.Algorithm3D = 4;
Mesh.CharacteristicLengthFactor = 0.02;
Mesh 3;
Save "SNF_02_cmd.msh";

When I check the mesh file in GUI I do not see existence of 3D mesh. I also 
confirmed in by importing into OpenFoam and Openfoam also does not find any 
volume mesh. But the log file clearly says
Info    : Success !
Info    : 238335 points, 1157220 elements
Info    : Done meshing 3D (Wall 1233.26s, CPU 1222.82s)

Why I am not seeing and 3D mesh in the mesh file? The log file is attached.



__

Best Regards
Sudipta Saha, MS, EIT
Spent Fuel Modeling Intern, Idaho National Laboratory

PhD Candidate in Mechanical Engineering
Reacting System and Advanced Energy Research Lab
Graduate Council Representative, Graduate Student Association
LinkedIn<https://protect2.fireeye.com/v1/url?k=39e8fa3a-677068ff-39e8b4fb-86982a5fc978-2492fd362d6846e6&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fsudipta-saha-usc%2F>
 | ResearchGate<https://www.researchgate.net/profile/Sudipta_Saha13> | 
GoogleScholar<https://protect2.fireeye.com/v1/url?k=f8261173-a6be83b6-f8265fb2-86982a5fc978-d9b6375c1c090b26&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=https%3A%2F%2Fscholar.google.com%2Fcitations%3Fuser%3DxDVKlBcAAAAJ%26hl%3Den>
 | 
Website<https://protect2.fireeye.com/v1/url?k=6a02f614-349a64d1-6a02b8d5-86982a5fc978-2782b01c5e937e71&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=https%3A%2F%2Fsudiptasaha.weebly.com%2F>
[cid:[email protected]]



_______________________________________________

gmsh mailing list

<mailto:[email protected]>

[email protected]


<https://protect2.fireeye.com/v1/url?k=719b4515-2f03d7d0-719b0bd4-86982a5fc978-d0a2e1b32f73cdde&q=1&e=de46c48d-00f9-421d-9b29-2e9858287e9d&u=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmsh>

http://onelab.info/mailman/listinfo/gmsh

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to