CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > EnSight

OpenFOAM data in Ensight

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2017, 16:07
Default OpenFOAM data in Ensight
  #1
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 5
manuc is on a distinguished road
Hello All

I work with a multiregion solver which has a solid and afluid domian.
In OpenFOAM i can convert the data into Ensight readable format using:
foamToEnsight -region <solidname> -latestTime
It creates a folder ensight and write a mesh and case file.
Now if repeat the same for the fluid region it actually overwrites the old Ensight folder.

Assumethat I rename the old folder and obtain the data for solid and fluid domain with 2 different case files and mesh files in two folders.

Is it possible to merge the two case files one for solid and one for fluid generated with the same name, to obtain a combined domain.

thanks in advance
__________________
Regards
Manu
manuc is offline   Reply With Quote

Old   June 14, 2017, 23:50
Default
  #2
Senior Member
 
kevincolburn's Avatar
 
Kevin Colburn
Join Date: Mar 2009
Location: The Woodlands, TX
Posts: 131
Rep Power: 12
kevincolburn is on a distinguished road
Manu,

Okay, I'll ask the silly question first... what happens if you don't utilize the -region flag? Do you get both solid and fluid regions written out together? I would have "hoped" that without using the -region flag, that both regions would have been written out (as separate parts ideally), and all would be taken care of.

Okay, now onto trying to assist in your situation. If you access to EnSight 10.2, there is a new capability which allows for separate .case files to be read in as a single "model", and not separate 'cases'. This does require an HPC license (or Gold), as we do sit on top of some underlying capability in the HPC/Gold to get this done. So, do you have a Gold/HPC license? Do you have EnSight 10.2? If yes to both, I'll point you to a relatively simple solution.

If either are 'no'.... I might suggest a little macro that we have, which attempts to combine the cases together (it is very slow, and not all that elegant).

-Kevin
__________________
Kevin Colburn
Computational Engineering International, Inc.
www.ceisoftware.com
kevin@ensight.com
kevincolburn is offline   Reply With Quote

Old   June 27, 2017, 17:05
Default
  #3
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 5
manuc is on a distinguished road
To answer the first question the option without -region gives no output.

Will try to solve it with your suggestions
Thanks
__________________
Regards
Manu
manuc is offline   Reply With Quote

Old   October 7, 2019, 05:10
Default
  #4
New Member
 
Mustafa
Join Date: Jun 2015
Location: Aachen
Posts: 15
Rep Power: 6
stamufa is on a distinguished road
Hi Manu,

A late answer but if I've understood you correctly, you can simply do

foamToEnsight -region <regionname1> -name <FolderNameRegion1>
foamToEnsight -region <regionname2> -name <FolderNameRegion2>

You can then open both the first and second cases in EnSight (by keeping the data from the first case loaded), that's as good as a combined case.

Best,
Mustafa
stamufa is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Started with OpenFOAM wyldckat OpenFOAM 24 October 2, 2019 22:35
Input data from Fortran into OpenFOAM rsanders20 OpenFOAM 5 August 28, 2017 09:58
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 9 March 30, 2017 06:19
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 01:51
[General] Batch: Exchange Ensight data wernsen ParaView 0 March 3, 2016 11:53


All times are GMT -4. The time now is 23:20.