CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   gmsh (http://www.cfd-online.com/Forums/main/11826-gmsh.html)

jojo July 14, 2006 22:16

gmsh
 
Hi,

When I try to mesh a volume, no node is created inside the volume. I have only the surface boundaries meshed. Do I forget something?

Is there any other pre-processing open-source tools?

Thanks in advance,

jojo

phsieh2005 July 16, 2006 10:06

Re: gmsh
 
Hi,

You did something wrong. Read the manual/tutorials. Without looking at your geo file, I cannot say for sure, but, check to see if you specify "physical volume" in the geo file.

Another good pre-processor is CalculiX/cgx: www.calculix.de

Netgen is another good one that only do tet elements.

phsieh2005

jojo July 20, 2006 07:48

Re: gmsh
 
Dear Phsieh2005,

Thanks for your help.

I effectively add a physical volume in the .geo file. After this, I ask for a 3-D mesh but only surfaces are done. The .geo file is below. I cannot see where is my mistake.

Thanks a lot again,

Best Regards,

jojo

Point(1) = {0, 0, 0, 0.1}; Point(2) = {10, 0, 0, 0.1}; Point(3) = {10, 1, 0, 0.1}; Point(4) = {0, 1, 0, 0.1}; Point(5) = {0, 0, 1, 0.1}; Point(6) = {10, 0, 1, 0.1}; Point(7) = {10, 1, 1, 0.1}; Point(8) = {0, 1, 1, 0.1}; Line (1) = {8, 7}; Line (2) = {7, 6}; Line (3) = {6, 5}; Line (4) = {5, 8}; Line (5) = {2, 1}; Line (6) = {1, 4}; Line (7) = {4, 3}; Line (8) = {3, 2}; Line (9) = {2, 6}; Line (10) = {7, 3}; Line (11) = {1, 5}; Line (12) = {8, 4}; Line Loop (1000014) = {3, 4, 1, 2}; Plane Surface (14) = {1000014}; Line Loop (1000016) = {9, -2, 10, 8}; Plane Surface (16) = {1000016}; Line Loop (1000018) = {5, 6, 7, 8}; Plane Surface (18) = {1000018}; Line Loop (1000020) = {12, -6, 11, 4}; Plane Surface (20) = {1000020}; Line Loop (1000022) = {3, -11, -5, 9}; Plane Surface (22) = {1000022}; Line Loop (1000024) = {12, 7, -10, -1}; Plane Surface (24) = {1000024}; Surface Loop (1000026) = {18, 22, 14, 20, 24, 16, 18, 22, 14, 20, 24, 16}; Volume (26) = {1000026}; Physical Surface (100000) = {24}; Physical Surface (100001) = {22}; Physical Surface (100002) = {14}; Physical Surface (100003) = {18}; Physical Surface (100004) = {20}; Physical Surface (100005) = {16}; Physical Volume (127) = {26};


phsieh2005 July 20, 2006 09:25

Re: gmsh
 
Hi,

The error is in your Surface Loop(1000026).

Change to this line:

Surface Loop (1000026) = {18, 22, 14, 20, 24, 16};

Then you are OK. Basically, you have each of the surace number twice.

phsieh2005

jojo July 24, 2006 10:49

Re: gmsh
 
Oh yes...

Thanks a lot. Have you an idea on how it could happen? I used only GMSH GUI.

Best Regards,

jojo

nomad August 31, 2009 23:11

.geo import error
 
Hi,
I'm trying to import a .geo file from solidworks into NGSolve, but it gives the following error:

'geo-file should begin with algebraic3d'

What does this mean and how can I fix it?

Thanks.


All times are GMT -4. The time now is 03:56.