CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

someLine.eMesh format file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 27, 2010, 06:32
Red face someLine.eMesh format file
  #1
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 7
elisenda is on a distinguished road
Dear all,

I am trying to mesh an stl geometry with snappyHexMesh. I can see that the feature lines (or edges) I have in the geometry are omitted. The mesh don't follows the lines.

I would like to use the someLine.eMesh file but I don't know their format and I don't know where I have to place it into the structure directories.

I don't know if this is a good way but I have not other ideas.

1) Can anybody help me how to use and how to generate the someLine.eMesh file?
2) Have anybody any other ideas?

Thanks in advance,
Elisenda
elisenda is offline   Reply With Quote

Old   January 27, 2010, 10:57
Default
  #2
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 7
Wolle is on a distinguished road
Hi Elisenda,

Is that what you mean by "feature lines/edges are omitted"?

snappyHexMesh - geometry edges

There are some other threads about that in the forum, but I (not experienced at all!) think, there's no solution to that problem at the moment.

I don't know, whether the someLine.eMesh approach is adequate for this kind of problem, but would be interested too. Anyway I didn't read anything about that yet and came across these settings just today...

Cheers
Wolle
Wolle is offline   Reply With Quote

Old   January 28, 2010, 03:52
Default
  #3
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 7
elisenda is on a distinguished road
Hello Wolle,

This is exactly what I mean.
I think the eMesh file can help me. I am not sure but I would like to try.
The problem is that I don't know their format.

Has anybody idea about the eMesh format?
elisenda is offline   Reply With Quote

Old   January 28, 2010, 04:25
Default
  #4
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 8
norman1981 is on a distinguished road
Quote:
Originally Posted by elisenda View Post
Has anybody idea about the eMesh format?
Hi!
Look at the iglooWithFridges/constant/triSurface/fridgeA.eMesh file:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;

root "..";
case "cavity";
instance ""constant"";
local "polyMesh";

class featureEdgeMesh;
object points;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// Points
(
(1.99 1.99 0.01) //0
(3.01 1.99 0.01) //1
(3.01 3.01 0.01) //2
(1.99 3.01 0.01) //3

(1.99 1.99 2.01) //4
(3.01 1.99 2.01) //5
(3.01 3.01 2.01) //6
(1.99 3.01 2.01) //7
)
// Edges
(
(0 1)
(1 2)
(2 3)
(3 0)

(4 5)
(5 6)
(6 7)
(7 4)

(0 4)
(1 5)
(2 6)
(3 7)
)
// ************************************************** *********************** //

Regards

Norman
norman1981 is offline   Reply With Quote

Old   January 28, 2010, 05:30
Smile
  #5
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 7
elisenda is on a distinguished road
Hi Norman,

Thank you for your very quick answer. I will try with this format.
I will say you if the mesh follows the edges.

Thanks and regards,
Elisenda
elisenda is offline   Reply With Quote

Old   January 28, 2010, 06:26
Default
  #6
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 7
elisenda is on a distinguished road
Hi Norman,

I used this format and the snappyHexMesh runs well. The problem is that the mesh don't follows the edges.
I don't know what I can do.

Any suggestions?
Elisenda
elisenda is offline   Reply With Quote

Old   January 28, 2010, 06:29
Default
  #7
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 8
norman1981 is on a distinguished road
Quote:
Originally Posted by elisenda View Post
Hi Norman,

Thank you for your very quick answer. I will try with this format.
I will say you if the mesh follows the edges.

Thanks and regards,
Elisenda
You're welcome!
I tried that solution last april and it didn't improve my case so much.. maybe the new snappyHexMesh version works better using these feature lines but I think you'll only get a refinement around your feature lines because the edge capturing is not already implemented in snappyHexMesh :-(
Anyway let me know!

Regards
Norman
norman1981 is offline   Reply With Quote

Old   January 28, 2010, 08:09
Default
  #8
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 7
elisenda is on a distinguished road
Hi Norman,
I use "level 10" on the edges.eMesh file:

features
(
{
file "edges.eMesh";
level 10;
}
);


and the mesh is refined near the edges. I have a lot of elements. It is not bad, but it would be better follows the edges but without increase the number of elements. It is a pity.

Elisenda
elisenda is offline   Reply With Quote

Old   January 28, 2010, 08:41
Default
  #9
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 8
norman1981 is on a distinguished road
Hi Elisenda,

I agree but this is the only way to get a grid that follow in some way your edges because at this moment the edge capturing is not implemented in snappyHexMesh.

Norman
norman1981 is offline   Reply With Quote

Old   March 3, 2010, 04:33
Default
  #10
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi Elisenda,

Have you find a way or a 'best strategy' to improve your mesh quality near the edges ?

Best regards,

Stephane
openfoam_user is offline   Reply With Quote

Old   March 19, 2010, 06:04
Default
  #11
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 7
elisenda is on a distinguished road
Stephane,

This is the only way I have found. I don't know if there is another one.
elisenda 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
[GAMBIT] Neutral File Format Problems Forrest ANSYS Meshing & Geometry 2 May 26, 2010 12:09
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 15:49
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16
Format file for visualisation Ricardo Nunez Main CFD Forum 2 July 30, 1998 04:12


All times are GMT -4. The time now is 18:26.