|
[Sponsors] |
[Gmsh] Generating a parabolic profile in gmsh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 12, 2012, 04:57 |
Generating a parabolic profile in gmsh
|
#1 |
Member
Join Date: Feb 2012
Posts: 57
Rep Power: 14 |
Hello,
I am trying to generate a parabolic profile (on the xy plane to be extruded along the z-direction) of a tank, to model the flow of fluid inside the tank with bubbleFoam. My issue is I have tried many ways to get such a geometry into openfoam. My first try was to import an igs file with the geometry into gmsh, netgen or salome however none of these seemed to work.. I decided to generate the mesh from scratch, so I wrote a script to generate points along a parabola and join them all with straight lines (see attached image). Then I try to generate a 2d surface mesh and I get the following error: "Error : Identical points in triangulation: increase element size or Mesh.RandomFactor" and gmsh crashes. How do I specify element size in gmsh? And what is Mesh.RandomFactor? Cheers Last edited by matt.mech.eng; March 12, 2012 at 05:48. Reason: pics uploaded |
|
March 12, 2012, 08:59 |
|
#2 |
New Member
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 16 |
From Gmsh documentation:
Mesh.RandomFactor Random factor used in the 2D meshing algorithm (should be increased if RandomFactor * size(triangle)/size(model) approaches machine accuracy) Default value: 1e-09 When generating mesh, position of every point is perturbated by small random value to avoid 3 aligned points. So for beginning you can set Mesh.RandomFactor=1e-7 (or something like that) in your .geo file and try again. |
|
February 21, 2016, 13:38 |
angle of element in gmsh
|
#3 |
New Member
Goth ydamil
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
I want to change the angle of triangle element
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] parabolic velocity profile with fluctuations (groovyBC?) | newOFuser | OpenFOAM Community Contributions | 17 | July 15, 2013 18:27 |
Half parabolic profile for the velocity inlet | adele | FLUENT | 4 | July 19, 2012 12:43 |
Doxygen documentation | Tanay | OpenFOAM Installation | 9 | September 23, 2011 12:40 |
[swak4Foam] Generating a parabolic Profile with groovyBC | erklaerbaer | OpenFOAM Community Contributions | 9 | June 6, 2010 15:51 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |