Search found 6 matches

by ArnauMiro
Mon Jul 31, 2017 1:44 pm
Forum: code_saturne usage
Topic: Code_Saturne and Catalyst
Replies: 1
Views: 2097

Code_Saturne and Catalyst

Hello,

I have managed to install Code_Saturne (both versions 4.0.7 and 5.0.3) with Paraview Catalyst support, however, I cannot seem to find anywhere how to make it work. Is there any tutorial or example to help me set up a run with Catalyst?

Thanks!
by ArnauMiro
Wed Nov 09, 2016 9:56 pm
Forum: code_saturne usage
Topic: Free Inlet/Outlet external head loss definition
Replies: 3
Views: 4823

Re: Free Inlet/Outlet external head loss definition

Hi, I have found what I was asking. I will comment here just in case it is useful to other people: The answer is in the file "typecl.f90" on line 941 where it says: b_head_loss(ifac) = rcodcl(ifac,ivar,2) Therefore, the external head loss constant "K" (found in the GUI) can be se...
by ArnauMiro
Wed Nov 09, 2016 8:10 am
Forum: code_saturne usage
Topic: Free Inlet/Outlet external head loss definition
Replies: 3
Views: 4823

Re: Free Inlet/Outlet external head loss definition

Hi, Yes, I did check the examples and the documentation. I also searched for posts and I couldn't find any clear reference. I found a head loss example but (correct me if I am wrong) I understand this external head loss is something different. Maybe if you can point me where the free inlet/outlet is...
by ArnauMiro
Tue Nov 08, 2016 1:15 pm
Forum: code_saturne usage
Topic: Free Inlet/Outlet external head loss definition
Replies: 3
Views: 4823

Free Inlet/Outlet external head loss definition

Hi, I've been trying to define in cs_user_boundary_conditions.f90 a free inlet/outlet condition with external head loss (just like the GUI). I've found so far that the itypfb for the free inlet/outlet is ifrent. However, I'm not able to find how the external head losses must be defined. Is there any...
by ArnauMiro
Tue Jun 07, 2016 12:07 pm
Forum: code_saturne usage
Topic: Gradient of user computed field
Replies: 2
Views: 3982

Re: Gradient of user computed field

Hello Yvan,

Thanks for your quick reply. I've taken a look at the cs_gradients.h file and it seems complicated to implement...

For the moment, I think I will use Paraview's filter implementation.

Thanks for your help.
by ArnauMiro
Wed Jun 01, 2016 9:45 am
Forum: code_saturne usage
Topic: Gradient of user computed field
Replies: 2
Views: 3982

Gradient of user computed field

Hello, I have a field I have computed in the subroutine usvpst. I would like to perform the gradient of such field. However, the field_gradient_scalar and the field_gradient_vector subroutines require a field ID to be inputed (instead of the values of the field). I have seen that user defined fields...