CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Ensight (https://www.cfd-online.com/Forums/openfoam-post-processing/57194-ensight.html)

ayoros September 16, 2008 05:09

Hi all, Is there any way to
 
Hi all,

Is there any way to obtain a continuous appearance with enSight for the fields U, p, etc ..., as with paraview which interpolates the fields ?

As for now I use the foamToEnsight utility, I don't know if the solution would be to install the foam reader to enSight.

Thanks,

Fabien

hani September 16, 2008 06:44

Hi Fabien, Try using Elemen
 
Hi Fabien,

Try using ElementToNode in Ensight, which will interpolate the values. Note that this interpolation is weighted with the volumes of the surrounding control volumes, so it is not a tri-linear interpolation. For visualization purposes it is ok.

In Ensight you can see if your variables are element based or node based - look for (E) or (N) next to the variable in the variable calulator.

For element based variables it is assumed that the value is constant in each control volume.

Håkan.

ayoros September 16, 2008 08:13

Thanks Hakan ! It works we
 
Thanks Hakan !

It works well.

Do you think a case mapping between an OpenFOAM result interpolated by ensight and a Fluent result exported with node values can be appropriate ?

Fabien

fra76 September 16, 2008 13:00

For better comparison, you can
 
For better comparison, you can export from Fluent with cell values.

Frncesco

arun March 15, 2009 10:11

Hi All, I am having problem
 
Hi All,

I am having problem with Ensight 8.2.4 installation in linux platform. I am new to linux and openFOAM as well. I followed the installation manual by Ensight but everytime I run the command "ensight82" nothing happens and the "no such file" massage prompted in the terminal. I have set the enviroment as instructed during the final step of the installation process.

Any help is highly appreciated.
Thanks in advance.

Arun

arun March 15, 2009 10:15

Hi All, I am having problem
 
Hi All,

I am having problem with Ensight 8.2.4 installation in linux platform. I am new to linux and openFOAM as well. I followed the installation manual by Ensight but everytime I run the command "ensight82" nothing happens and the "no such file" massage prompted in the terminal. I have set the enviroment as instructed during the final step of the installation process.

Any help is highly appreciated.
Thanks in advance.

Arun

srikara April 28, 2009 05:22

Volume mesh
 
Hi foamers,
I want to export an Openfoam file to Ensight format. But I want only the volume mesh to be written into Ensight without the exterior patches. Does anybody have any idea how to do it using Openfoam?

Regards,
Srikara

olesen April 29, 2009 03:34

The quickest is probably to extend the existing foamToEnsight utillity to handle a '-noPatches' options (while you're at it, perhaps a '-patchesOnly' option too) and submit your updated version as an enhancement request. It looks like the main code bits to adjust are in the ensightMesh constructor.

lillymarlin March 1, 2010 12:17

Reading error in EnSight
 
Hello all,
I am running openfoam in a linux machine and produce the Ensight files there. But then I have the Ensight in a separate Windows machine. And I cannot read the file on EnSight, it says error prereading data. It is a normal .case file with the variables too.
I think i have to set the environment variables, they are all there except for the openfoam one since it is not in the windows machine.

Can you help me with how to open properly the .case file??

Thanks a lot

olesen March 2, 2010 03:05

Quote:

Originally Posted by lillymarlin (Post 247942)
... I cannot read the file on EnSight, it says error prereading data. It is a normal .case file with the variables too.

Does ens_checker report any errors/warnings with your case?

lillymarlin March 2, 2010 03:45

Quote:

Originally Posted by olesen (Post 248033)
Does ens_checker report any errors/warnings with your case?

Hello,

It says like this.. I dont know how to fix this, since i only exported the files from openfoam


C:\Users\ISIL\Documents\VKI\CFD Lab\Grids\EnSight>ens_checker90 BFS.case


************************************************** ***************
* EnSight Data Format Checker *
* =========================== *
* Currently, *
* 1. Must be run from directory in which casefile is located. *
* 2. Handles EnSight6 and EnSight Gold formats only. *
* 3. Does not process SOS casefiles. *
************************************************** ***************
<Version: 2.019>
<Built: 12/17/2008>

Casefile to Process:
--------------------
BFS.case (Opened successfully)

---------------------
Major Sections Found:
---------------------

===> Problem:
-------------
Casefile did not contain the required FORMAT section
Casefile did not contain the required GEOMETRY section


>-*-*-*-*-*-* bummer! *-*-*-*-*-*-<
> <
> Verification of the data FAILED <
> <
>-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-<

olesen March 2, 2010 04:01

Quote:

Originally Posted by lillymarlin (Post 248041)
It says like this.. I dont know how to fix this, since i only exported the files from openfoam
...
===> Problem:
-------------
Casefile did not contain the required FORMAT section
Casefile did not contain the required GEOMETRY section

If you are missing FORMAT and GEOMETRY sections, there is no way it can ever load.
How did you convert the OpenFOAM data to Ensight? Using either foamToEnsight or foamToEnsightParts definitely generates case files correctly for me.

Code:

>-------------- Hooray! --------------<
>                                    <
> Data format verification SUCCESSFUL <
>                                    <
>          with No Warnings          <
>                                    <
>-------------------------------------<

Perhaps there is a line-endings problem occurring when you transfer files to windows?

lillymarlin March 2, 2010 04:14

Quote:

Originally Posted by olesen (Post 248043)
If you are missing FORMAT and GEOMETRY sections, there is no way it can ever load.
How did you convert the OpenFOAM data to Ensight? Using either foamToEnsight or foamToEnsightParts definitely generates case files correctly for me.

Code:

>-------------- Hooray! --------------<
>                                    <
> Data format verification SUCCESSFUL <
>                                    <
>          with No Warnings          <
>                                    <
>-------------------------------------<

Perhaps there is a line-endings problem occurring when you transfer files to windows?

I used foamToEnsight, i will try the other converter and I am not keen at linux at all but i'll check the line endings.. and probably come back with other questions heh
thanks a lot

lillymarlin March 2, 2010 07:05

Quote:

Originally Posted by olesen (Post 248043)
If you are missing FORMAT and GEOMETRY sections, there is no way it can ever load.
How did you convert the OpenFOAM data to Ensight? Using either foamToEnsight or foamToEnsightParts definitely generates case files correctly for me.

Code:

>-------------- Hooray! --------------<
>                                    <
> Data format verification SUCCESSFUL <
>                                    <
>          with No Warnings          <
>                                    <
>-------------------------------------<

Perhaps there is a line-endings problem occurring when you transfer files to windows?

Now it opens, but the internal points do not seem to load, then i used foamToEnsightParts and now i see the grid, but they do not seem to be associated to the variables since i cannot paint the internal area to velocity or whatever variable i loaded. It is like they are not connected. It says "no values found for selected parts"

foreverchenpeng August 12, 2010 02:39

problems in Ensight
 
Hello all,
I am running Ensight in a windows 7-64 bit machine and produce the Ensight files there. And I cannot read the file on EnSight, it says" error prereading data". It is a normal .case file with the variables too.but yesderday,i can run the software successful.

Can you help me with how to open properly the .case file??

Thanks a lot

ICS January 11, 2019 07:05

Ensight Mesh Precision
 
I'm working on a case with a very high mesh aspect ratio (I need to solve the boundary layer for a supersonic flow). Hence, I need to increase the writing precision for the "geometry" file when I use the application foamToEnsightParts... the default result using the -ascii option is scientific notation with 5 decimals and that's not enougth for me.
Changing the controlDict writePrecision doesn't help, neither the foamToEnsightParts -width option... Any ideas how to do that?

ICS January 23, 2019 09:39

I came with a solution for my mesh problem... see my post on https://www.cfd-online.com/Forums/op...tml#post722715

Pakurai November 5, 2021 12:33

Time Values in Ensight
 
1 Attachment(s)
Hello everyone,


i have run a LES at the start Time 30000.
I've got the Solution at the Time:

30000
30000.00015
30000.0002999986
30000.0004499979696
30000.0005999972927
30000.0007499966159
30000.0008999959391
30000.0010499952623
30000.0011999945855
30000.0013499939087
30000.0014999932318

After translating the data to Ensight format with the command foamToEnsight i get this case-file(attachments)
Why are the time values all 30000 and not same as my solution?


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