start calculation -> nothing happens

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
ggosse

start calculation -> nothing happens

Post by ggosse »

Hi,
I'm a new user with salome and code_saturne.
Under windows 7, i managed the following steps:
- create a cylinder in salome
- create a mesh with groups inlet,wall, outler in salome
- export to .unv
- create a directory structure CASE in code saturne
- check mess ( seems ok , see below )
- configure physical properties, etc
Finally
When i open "prepare batch calculation", the runcase.bat script is found.When i launch "start calculation" a blank log window appears with just "number of lines" and "save as" enabled, and nothing more ...
If i try to shut the window, i get the message "The process is not running".

Any suggestion ?

Thanks
Gregory


(check mesh finishes with this:
Checking the mesh structure coherency:
Checking the face -> cells connectivity coherency
Coherency criteria definition
Coherency verification on coordinates
End of coherency check of the mesh structure.
Destroying structures and ending computation
)
Attachments
projet1.zip
(1.3 MiB) Downloaded 190 times
ggosse

Re: start calculation -> nothing happens

Post by ggosse »

I found the following post which seems to deal with the same issue :
http://code-saturne.org/forum/viewtopic ... tion#p9499

For me too, the double click of runcase.bat in windows explorer produces a folder with results in the 'RESU' folder.

Gregory
ggosse

Re: start calculation -> nothing happens

Post by ggosse »

I attach the result folder.

I have then installed a standalone PARAVIEW for visualization ( the PARAVIEW installed with CODE SATURNE doesn't seem to work )

I can visualize the RESULT.case with PARAVIEW but i wonder if anything 'fluid' has been computed ??
Attachments
screen.JPG
20151214-1320.zip
(442.29 KiB) Downloaded 191 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: start calculation -> nothing happens

Post by Yvan Fournier »

Hello,

So far, you seem to have run only a "mesh quality criteria" type run. This is the recommended pratice to check your mesh quality, and see in which zones quality is good an which areas it is not so good (which can be very useful to interpret future results).

You now need to switch to a standard run (in the GUI, calculation type/prepare batch calculation/run type).

Regards,

Yvan
ggosse

Re: start calculation -> nothing happens

Post by ggosse »

Thanks Yvan

I have performed a standard run now. ( attached folder )

In PARAVIEW the pressure, velocity ... are selectable.

If I choose velocity a color scale is displayed and take into account the inlet velocity I set in CODE SATURNE.

But the colors are not displayed in the figure. I just can see the shape of my cylinder even after having selected 'velocity' and 'apply'.

I will open a new topic for this.

Gregory
Attachments
screen.JPG
20151215-1056.zip
(891.16 KiB) Downloaded 188 times
Martin FERRAND
Posts: 47
Joined: Wed Mar 14, 2012 10:06 am

Re: start calculation -> nothing happens

Post by Martin FERRAND »

Hello,
In paraView, to visualise the fluid volume only (and not the boundary mesh) you should use filter->alphabetical->extract block
Then you can select the fluid domain only et click on apply.
You will be allowed to visualise pressure, velocity, etc
Best regards
Martin
ggosse

Re: start calculation -> nothing happens

Post by ggosse »

Thanks. The fluid visualization is ok with this filter.

File>Open result.case
Apply
Filter>Alphabetical>Extract Block
Check "Fluid domain"
Choose data in the scrolling menu in the "Active variable controls" toolbar

Best regards
Gregory
ggosse

Re: start calculation -> nothing happens

Post by ggosse »

( here is the result with a truncated cone )

Gregory
Attachments
screen.JPG
screen2.JPG
Martin FERRAND
Posts: 47
Joined: Wed Mar 14, 2012 10:06 am

Re: start calculation -> nothing happens

Post by Martin FERRAND »

Hello,
When using a tetra mesh, we advice to activate "least square with extended neighbourhood" gradient calculation method in the GUI (or set: imrgra=2 in cs_user_parameters.f90).
Best regards
Martin
ggosse

Re: start calculation -> nothing happens

Post by ggosse »

Thanks Martin

Actually the result is more homogeneous with the least square with extended neighbourhood method.

Best regards
Gregory
Attachments
screen.JPG
screen2.JPG
Post Reply