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

How to display eMesh-Files

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes
  • 12 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2012, 08:34
Default How to display eMesh-Files
  #1
New Member
 
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15
MasterCooler is on a distinguished road
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
MasterCooler is offline   Reply With Quote

Old   February 6, 2012, 10:20
Default
  #2
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 17
val46 is on a distinguished road
Hi,
you can import them in paraview.
__________________
"When I meet God, I am going to ask him two questions: Why relativity? And why turbulence? I really believe he will have an answer for the first." Werner Heisenberg
val46 is offline   Reply With Quote

Old   February 6, 2012, 11:09
Default
  #3
New Member
 
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15
MasterCooler is on a distinguished road
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
MasterCooler is offline   Reply With Quote

Old   February 6, 2012, 12:14
Default
  #4
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 17
val46 is on a distinguished road
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.
__________________
"When I meet God, I am going to ask him two questions: Why relativity? And why turbulence? I really believe he will have an answer for the first." Werner Heisenberg
val46 is offline   Reply With Quote

Old   February 6, 2012, 12:24
Default
  #5
New Member
 
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15
MasterCooler is on a distinguished road
Okay, thank you.
MasterCooler is offline   Reply With Quote

Old   February 6, 2012, 18:10
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
louisgag, nimasam, peppino and 9 others like this.
__________________
wyldckat is offline   Reply With Quote

Old   February 8, 2012, 05:15
Default
  #7
New Member
 
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15
MasterCooler is on a distinguished road
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
MasterCooler is offline   Reply With Quote

Old   February 8, 2012, 07:01
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   March 14, 2017, 02:23
Default Change binary to ascii
  #9
Member
 
Geon-Hong Kim
Join Date: Feb 2010
Location: Ulsan, Republic of Korea
Posts: 36
Rep Power: 16
Geon-Hong is on a distinguished road
eMesh file might be written in binary format.

Change the file format from binary to ascii and try surfaceFeatureExtract and surfaceFeatureConvert again.
Geon-Hong is offline   Reply With Quote

Reply

Tags
edge file, emesh, surfacefeatureextract


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
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 11:46


All times are GMT -4. The time now is 14:31.