CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

gmsh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 14, 2006, 22:16
Default gmsh
  #1
jojo
Guest
 
Posts: n/a
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
  Reply With Quote

Old   July 16, 2006, 10:06
Default Re: gmsh
  #2
phsieh2005
Guest
 
Posts: n/a
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
  Reply With Quote

Old   July 20, 2006, 07:48
Default Re: gmsh
  #3
jojo
Guest
 
Posts: n/a
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};

  Reply With Quote

Old   July 20, 2006, 09:25
Default Re: gmsh
  #4
phsieh2005
Guest
 
Posts: n/a
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
  Reply With Quote

Old   July 24, 2006, 10:49
Default Re: gmsh
  #5
jojo
Guest
 
Posts: n/a
Oh yes...

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

Best Regards,

jojo
  Reply With Quote

Old   August 31, 2009, 23:11
Default .geo import error
  #6
Member
 
John
Join Date: Aug 2009
Posts: 93
Rep Power: 7
nomad is on a distinguished road
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.
nomad is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi Open Source Meshers: Gmsh, Netgen, CGNS, ... 8 July 7, 2011 02:28
Pipe flow in gmsh / OF andreasp Open Source Meshers: Gmsh, Netgen, CGNS, ... 4 March 2, 2011 19:16
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
How does Gmsh deal with overlap boundaries? yuhai Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 April 24, 2009 13:34


All times are GMT -4. The time now is 02:27.