Search found 11 matches

by BLM
Wed Mar 30, 2022 6:24 pm
Forum: code_saturne usage
Topic: Different results from stationary and rotating frame
Replies: 7
Views: 6924

Re: Different results from stationary and rotating frame

Hello Ruonan, First I apologies for the response delay. I am not frequently on the user forum. Indeed, it seems that there is a problem with the rotating frame of reference (icorio = 1). This option is not frequently used and it appears that it miss a test case in our validation basis in order to ma...
by BLM
Mon Jan 03, 2022 12:35 pm
Forum: code_saturne usage
Topic: Turbomachinery model: frozen rotor or full transient?
Replies: 16
Views: 7082

Re: Turbomachinery model: frozen rotor or full transient?

Dear Ruonan, Thank you for the paper. I understand the flow that you want to simulate. 1) Concerning the centrifugal term, you are right, when you specify an angular velocity for your domain, the centrifugal term is taken into account as well as the Coriolis source term. However, in same way as it i...
by BLM
Thu Dec 16, 2021 5:01 pm
Forum: code_saturne usage
Topic: Turbomachinery model: frozen rotor or full transient?
Replies: 16
Views: 7082

Re: Turbomachinery model: frozen rotor or full transient?

Dear Ruonan, Yvan told me about your case and I run the first one (RANS in the relative frame of reference). I think that if you have only a Coriolis source term (in the IHM or in cs_user_parameters.c), together with walls and symmetry, it is normal that the solution is zero (relative) velocity ever...
by BLM
Tue Jun 08, 2021 5:00 pm
Forum: code_saturne usage
Topic: Wall boiling model
Replies: 3
Views: 2304

Re: Wall boiling model

Hello Luciano, I think it is technically possible (quite easily) by modifying the function cavitation_compute_source_term (src/base/cavitation.f90) and its call in navstv in order to introduce the temperature dependence and replace the "presat" constant with a temperature polynomial direct...
by BLM
Wed Oct 02, 2019 4:39 pm
Forum: code_saturne usage
Topic: Merkle's model (cavitation module) in Code_Saturne v5.0
Replies: 2
Views: 1761

Re: Merkle's model (cavitation module) in Code_Saturne v5.0

Hello, You are right, the cavitation source term model implemented in Code_Saturne differs from the original Merkle's model and the reason should be explain in ref [3] : it is because the alpha(1-alpha) factor makes the min/max principle (alpha must be between 0 and 1) is easier to satisfy with this...
by BLM
Fri May 27, 2016 9:39 am
Forum: code_saturne usage
Topic: Jacobi: error (divergence) solving for Velocity
Replies: 17
Views: 13191

Re: Jacobi: error (divergence) solving for Velocity

Hello, As you noticed, there is a typo in the documentation of v4.0. The correct expression of the evaporation/condensation source term is the one of v4.2 documentation. It differs slightly from the original Merkle model. I will made the Code_Saturne documentation more explicit on this point. Note t...
by BLM
Fri Oct 24, 2014 9:12 am
Forum: code_saturne usage
Topic: Code_Saturne/Code_Saturne coupling
Replies: 2
Views: 2193

Re: Code_Saturne/Code_Saturne coupling

Hello, The post http://code-saturne.org/forum/viewtopic.php?f=2&t=67 contains a few informations about Code_Saturne/Code_Saturne coupling. Note that if you don't have any overlapping region between the two separated meshes, you can activated the coupling scheme dedicated to interfacial coupling ...
by BLM
Mon Sep 29, 2014 7:06 pm
Forum: code_saturne usage
Topic: spalart shur correction implementation
Replies: 4
Views: 3618

Re: spalart shur correction implementation

Hi, In the Spalart-Shur correction, the "Coriolis-type" term you mention comes from the material derivative of the strain rate tensor (this term is used to "measure" the curvature of the streamlines and, since it is not an objective quantity, it generates Coriolis-type term in a ...
by BLM
Mon Jan 28, 2013 12:59 pm
Forum: code_saturne usage
Topic: Inlet conditions for LES - Mapping method
Replies: 5
Views: 4512

Re: Inlet conditions for LES - Mapping method

Hi, A framework that could manage this kind of recycling procedure is the code-code coupling. You have to consider 2 meshes: one for the upstream section with periodicity of translation at boundaries, the other for the downstream section. Using the cs_user_coupling.c user file, you can couple the in...
by BLM
Wed Nov 07, 2012 11:10 am
Forum: code_saturne usage
Topic: Code_Saturne:2.0.3, about filtered velocity for LES
Replies: 1
Views: 2645

Re: Code_Saturne:2.0.3, about filtered velocity for LES

Hi Young, If you want to perform a test-filtering of your field, you can use the 'cfiltr' subroutine. Exemples of usage of this subroutine are in the visdyn.f90 source file which computes the subgrid viscosity for the DSM. The 'cfiltr' subroutine performs a (volume weighted) averaging of the field o...