CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] someLine.eMesh format file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2010, 05:32
Red face someLine.eMesh format file
  #1
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16
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, 09:57
Default
  #2
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16
Wolle is on a distinguished road
Hi Elisenda,

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

http://www.cfd-online.com/Forums/ope...try-edges.html

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, 02:52
Default
  #3
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16
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, 03:25
Default
  #4
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
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, 04:30
Smile
  #5
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16
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, 05:26
Default
  #6
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16
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, 05:29
Default
  #7
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
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, 07:09
Default
  #8
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16
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, 07:41
Default
  #9
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
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, 03:33
Default
  #10
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
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, 05:04
Default
  #11
New Member
 
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44


All times are GMT -4. The time now is 10:13.