CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Code Saturne, Thoughts after finishing the First Tutorial

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2010, 17:11
Default
  #21
New Member
 
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 16
dmonfort is on a distinguished road
Two options are available for post-processing in CAELinux (IIRC...), once you have chosen the different variables you want to look at, and the output frequency, in Code_Saturne interface (in the different "Calculation control" pages).

You can use:
- either the SALOME platform, be sure then to set the default file format to MED for the Code_Saturne post-processing format,
- or ParaView, that can read EnSight format.

For large meshes, I would advise you to use ParaView that scales better with the number of cells.

Finally, if you need information on how to use these tools, here are the web url where you will find some help:
- SALOME: http://www.salome-platform.org
- ParaView: http://www.paraview.org

Regards,
David
dmonfort is offline   Reply With Quote

Old   March 30, 2010, 07:13
Default
  #22
Member
 
MSarkar
Join Date: Dec 2009
Posts: 99
Rep Power: 16
msarkar is on a distinguished road
Hello David,

I was trying to use Paraview for post-processing (visualize the results) but I could not open the result files with Paraview. I have chosen the post-processing format as EnSight Gold and the results are save under RESU/CHR.ENSIGHT.03031553 directory. After finishing the run, I tried to open the result files using Paraview and it gave me the following erorr -
cvs/VTK/IO/vtkGenericEnSightReader.cxx, line 741
vtkGenericEnSightReader (0x14e4250): Error determining EnSightVersion


ERROR: In /home/dm2/henry/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx, line 757
vtkCompositeDataPipeline (0x1451430): Algorithm vtkGenericEnSightReader(0x14e4250) returned failure for request: vtkInformation (0x14501a0)
Debug: Off
Modified Time: 96092
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

Which version of Paraview do I need for post-processing? Currently I have ParaView3.3. Please suggest me how to visualize the results file using ParaView.

Any help would be very much appreciated.

Regards
M. Sarkar
msarkar is offline   Reply With Quote

Old   March 30, 2010, 16:55
Default
  #23
New Member
 
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 16
dmonfort is on a distinguished road
ParaView has evolved a lot since version 3.3. I would advise you to upgrade to version 3.6.2 (the latest one).

The EnSight reader has been improved (you don't have anymore to give the file endianness for example) ; that's perhaps the reason why you are seeing such errors.

David
dmonfort is offline   Reply With Quote

Old   April 5, 2010, 05:08
Default
  #24
Member
 
MSarkar
Join Date: Dec 2009
Posts: 99
Rep Power: 16
msarkar is on a distinguished road
Hello David,

After installing latest version of paraview, I am able to visualize the code_saturne results. Thanks a lot for your help!

Now I am trying to simulate convective and radiative heat transfer with natural convection inside a 2D square cavity. I created geometry and mesh using GMSH and I set up everything using Saturne GUI but while I am trying to run it, it is giving error in preprocessing stage. The error message is as below:

msarkar@obelix:~/Code_Saturne-1.4/Project/RUN1/CASE1/DATA$ ./SaturneGUI
nohup: redirecting stderr to stdout


Single processor Code_Saturne simulation

Code_Saturne is running
***********************

Working directory (to be periodically cleaned) :
/home/msarkar/tmp_Saturne/RUN1.CASE1.04051315

Kernel version: /opt/code_saturne/Noyau/ncs-1.4.b
Preprocessor version: /opt/code_saturne/Enveloppe/ecs-1.4.a

************************************************** *************
Compilation of user subroutines and linking of Code_Saturne
************************************************** *************
/home/msarkar/tmp_Saturne/RUN1.CASE1.04051315/compil.log

Use the radiative transfer module

*** "make" in a user directory

********************************************
Preparing calculation
********************************************


********************************************
Calculation starting
********************************************

Error running the preprocessor.
Check preprocessor log (listpre) for details.


********************************************
Error in preprocessing stage.
********************************************
msarkar@obelix:~/Code_Saturne-1.4/Project/RUN1/CASE1/DATA$

The preprocessor log file (listpre) is attached here. Could you please help me to fix this problem. I tried to generate 2D geometry but Saturne says it is 3 dimensional and there is no volumetric mesh. I did not have any clue how to fix this problem. I also attached the mesh file here (cavitymesh).

Any help would be very much appreciated.

best regards
M. Sarkar
Attached Files
File Type: txt listpre.txt (2.8 KB, 5 views)
File Type: txt cavitymesh.txt (23.3 KB, 4 views)
msarkar is offline   Reply With Quote

Reply


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
own Code vs. commercial code Bernhard Mueck Main CFD Forum 10 February 16, 2000 10:07
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 14:34
Use of an hydrodynamic model integrated in the vertical by the PHOENICS code Hafsia Zouhaier Main CFD Forum 2 March 15, 1999 08:23
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 11:44
What kind of Cmmercial CFD code you feel well? Lans Main CFD Forum 13 October 27, 1998 10:20


All times are GMT -4. The time now is 00:11.