Search found 118 matches

by Jacques Fontaine
Sun Dec 16, 2012 7:18 pm
Forum: code_saturne usage
Topic: Gasmixture, and mass source term (usphyv, ustsma)
Replies: 8
Views: 4358

Re: Gasmixture, and mass source term (usphyv, ustsma)

Hello,
You can't control the injection of gas 1 or 2 it's alway a mixture.
If you want to create a classic inlet in your domain you can use the thin walls (cs_user_mesh.c) to transform a n internal face into boundary face.

JF
by Jacques Fontaine
Tue Nov 20, 2012 7:43 pm
Forum: code_saturne usage
Topic: Gasmixture, and mass source term (usphyv, ustsma)
Replies: 8
Views: 4358

Re: Gasmixture, and mass source term (usphyv, ustsma)

Hello, I'm sorry for the delay. Your result is not surprising because in ustsma you are injecting gaz mixture with \rho = \rho_{2} \alpha + \rho_{1} (1-\alpha) in other words at the beginning of the computation you are mainly injecting gas 1 (and not 2) and you do no retrieve your 1.22e-3 kg/s of ga...
by Jacques Fontaine
Mon Oct 22, 2012 7:22 pm
Forum: code_saturne usage
Topic: Gasmixture, and mass source term (usphyv, ustsma)
Replies: 8
Views: 4358

Re: Gasmixture, and mass source term (usphyv, ustsma)

Hello,

Could you post your mesh?
I will try to reproduce your case.
Regards,
JF
by Jacques Fontaine
Wed Oct 17, 2012 10:26 am
Forum: code_saturne usage
Topic: Modele V2F
Replies: 2
Views: 1948

Re: Modele V2F

Hello, In 2.3v there are both v2f versions: 1) iturb = 50 (Laurence) 2) iturb = 51 (Billard) (not available from the GUI) In 2.2v only iturb = 50 is available. This not explain the difference between 2.2v and 2.3v; could you post the user subroutines and .xml used in your 2.3v computation ? By the w...
by Jacques Fontaine
Thu Oct 11, 2012 7:04 pm
Forum: Installation issues
Topic: source development: running CS from a debugger
Replies: 2
Views: 3324

Re: source development: running CS from a debugger

Hello, Step 1 : Run the command: code_saturne create -c CASE_NAME --initialize Step 2 : cd RESU/CASE_NAME Step 3: You must edit the runcase python script and replace the command cs_solver -p file.xml by ddd cs_solver -x cmd Step 4: Write in the cmd file: b main run -p file.xml b bug_function:line Th...
by Jacques Fontaine
Wed Oct 10, 2012 9:23 am
Forum: code_saturne usage
Topic: Check lign command CS 2.2
Replies: 1
Views: 1497

Re: Check lign command CS 2.2

Hello, The Code_Saturne command check_mesh does not exist in 2.y (y > 0) versions. For coherency all parallel prepro are now integrated in the core solver. You must create a case and run the computation in "quality" mode (you can select this mode in the last page of the GUI or in the cs_us...
by Jacques Fontaine
Wed Oct 10, 2012 9:10 am
Forum: code_saturne usage
Topic: Using cs_user_source_terms
Replies: 3
Views: 2111

Re: Using cs_user_source_terms

Hello,

Did you allocate lstelt (on ncelet)?
By the way, about volf : is it initialized to 0.d0?
Regards,
by Jacques Fontaine
Tue Oct 02, 2012 10:15 am
Forum: code_saturne usage
Topic: lost RESTART file
Replies: 1
Views: 1434

Re: lost RESTART file

Hello,

It is not possible.
by Jacques Fontaine
Fri Sep 28, 2012 2:50 pm
Forum: code_saturne usage
Topic: results output at nodes
Replies: 2
Views: 1891

Re: results output at nodes

Hello,

Code_Saturne is based on collocated finite volume method, so the variables are computed at the cell centers.

With Paraview you can use the filter: "cells to nodes" to interpolate values at nodes.

Regards,
JF
by Jacques Fontaine
Mon Sep 17, 2012 5:00 pm
Forum: code_saturne usage
Topic: problem with 'ustsns.f90' subroutine
Replies: 4
Views: 3179

Re: problem with 'ustsns.f90' subroutine

Hello,

James is right. And in 2.3v velocity components are coupled by default (ivelco = 1) so you must add your source term in cs_user_source_terms.f90 in the subroutine ustsnv.
Regards,