|
[Sponsors] |
June 14, 2017, 16:07 |
OpenFOAM data in Ensight
|
#1 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
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 |
|
June 14, 2017, 23:50 |
|
#2 |
Senior Member
Kevin Colburn
Join Date: Mar 2009
Location: The Woodlands, TX
Posts: 131
Rep Power: 17 |
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 |
|
June 27, 2017, 17:05 |
|
#3 |
Senior Member
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 129
Rep Power: 10 |
To answer the first question the option without -region gives no output.
Will try to solve it with your suggestions Thanks
__________________
Regards Manu |
|
October 7, 2019, 05:10 |
|
#4 |
New Member
Mustafa
Join Date: Jun 2015
Location: Aachen
Posts: 26
Rep Power: 11 |
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 |
|
July 1, 2024, 07:47 |
foamToEnsight can't not output the empty face value
|
#5 |
New Member
yingting tang
Join Date: Aug 2023
Posts: 9
Rep Power: 3 |
Hi,all.I have a question about the foamToEnsight .I was dealing with a 2Dcaes(the fornt and back face(perpendicular to Z dicrection)were set as "empty"),when I use paraview ,all the result can be seen,including the velocity field and temperature field of the empty face.(showed as figure1.)
But after run the foamToEnsight ,and use Ensith to open the case,the empty faces were missing ,so that I can only see the boundary of the field(showed as figure2.) Is there any method to export the result of the empty faces and the inrernal zone ? Any help will be appreciated!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Input data from Fortran into OpenFOAM | rsanders20 | OpenFOAM | 5 | August 28, 2017 09:58 |
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 |