CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   How to display eMesh-Files (http://www.cfd-online.com/Forums/openfoam/96961-how-display-emesh-files.html)

MasterCooler February 6, 2012 08:34

How to display eMesh-Files
 
Hello OF-Community,

I am looking for a possibility to display eMesh-Files (e.g. created by surfaceFeatureExtract) in order to check their real content.

Is there any utility or the like?

Thanks in advance.

Cheers
MasterCooler

val46 February 6, 2012 10:20

Hi,
you can import them in paraview.

MasterCooler February 6, 2012 11:09

Dear val46,

thanks for the quick reply.

I thaught that as well but I didn't work. Firstly I cannot open the eMesh file directly and even if I use the option writeVTK the generated additional file (format .extendedFeatureEdgeMesh) cannot be opened by paraView, isn't it?

I have seen that there is the option "writeObj" which also several obj files for. Amongst others there is a file "..._edgeMesh.obj" which can be opened in paraView and contains all edges. Is the content of "..._edgeMesh.obj" surely comparable with the content of the eMesh file generated in .../constant/triSurface?

Regards
Ben

val46 February 6, 2012 12:14

ah, sorry, forgot about the obj files.

Quote:

I have seen that there is the option "writeObj" which also several obj files for. Amongst others there is a file "..._edgeMesh.obj" which can be opened in paraView and contains all edges. Is the content of "..._edgeMesh.obj" surely comparable with the content of the eMesh file generated in .../constant/triSurface?
Yes, I think so.

MasterCooler February 6, 2012 12:24

Okay, thank you.

wyldckat February 6, 2012 18:10

Greetings to all!

You can use:
Code:

surfaceFeatureConvert constant/triSurface/file.eMesh features.obj
to convert "eMesh" to "obj". You can also use a random extension name to see which extensions are accepted.

Best regards,
Bruno

MasterCooler February 8, 2012 05:15

Good morning Bruno,

I have just tested your recommendation which would completely solve my problem. Unfortunable I got the following error
Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.x_20120105                        |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.x_20120105-eb976ba31c36
Exec  : surfaceFeatureConvert constant/triSurface/geo.eMesh geo.obj
Date  : Feb 08 2012
Time  : 09:20:51
Host  :
PID    : 24579
Case  :
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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


--> FOAM FATAL IO ERROR:
Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 22 an error

file: constant/triSurface/geo.eMesh at line 22.

    From function Istream::readBegin(const char*)
    in file db/IOstreams/IOstreams/Istream.C at line 94.

FOAM exiting

With the same file it was possible to write out the obj files while running the surfaceExtract command. Any idea what could go wrong?

Thanks in advance for your reply.

Cheers
Ben

wyldckat February 8, 2012 07:01

Hi Ben,

Open the file "constant/triSurface/geo.eMesh" with a text editor and check if there is anything out of place, as the output indicates!
Or if you can, attach the file "geo.eMesh" on your next post so we can see what might be wrong there!

Best regards,
Bruno


All times are GMT -4. The time now is 08:45.