Search found 44 matches

by Martin FERRAND
Wed Oct 28, 2015 8:33 pm
Forum: code_saturne usage
Topic: Boundary condition at inlet
Replies: 7
Views: 3943

Re: Boundary condition at inlet

Hello,
Could you provide some screenshots to understand your problem?

Best regards
Martin
by Martin FERRAND
Wed Oct 28, 2015 8:23 pm
Forum: code_saturne usage
Topic: Help needed on set a ALE simulation in Code_saturne4.0.2
Replies: 2
Views: 4290

Re: Help needed on set a ALE simulation in Code_saturne4.0.2

Hello, I cannot debug from my phone, but that it may happen that the cylinder is moving too much, and therefore the algorithm which is computing the mesh displacement (which is not really robust) make nodes crossing one to the other (and you obtain a negative cell volume). What I would advice is: - ...
by Martin FERRAND
Fri Oct 23, 2015 7:58 pm
Forum: code_saturne usage
Topic: Is it possible to record the pressure on the walls?
Replies: 8
Views: 9261

Re: Is it possible to record the pressure on the walls?

Hello,
You can export the stress of the fluid on the structure directly in the GUI. The normal component is therefore the pressure (more or less).
By the way, The coupling between Code_Saturne and aster is already working in version 4.0.3.
Best regards
Martin
by Martin FERRAND
Thu Oct 22, 2015 8:04 am
Forum: code_saturne usage
Topic: anisotropic turbulent eddy viscosity
Replies: 8
Views: 6346

Re: anisotropic turbulent eddy viscosity

Hello Vilas, Ok now I understand what you try to do. You can already do that specifying idften(iu)=6 in cs_user_parameters.f90 (let say in usipsu subroutine), and by computing your mu_T in phyvar (see in src/base). Then mu_T is a 6*ncelet array (the components are [mu_T(11), mu_T(22), mu_T(33), mu_T...
by Martin FERRAND
Tue Oct 20, 2015 7:57 pm
Forum: code_saturne usage
Topic: anisotropic turbulent eddy viscosity
Replies: 8
Views: 6346

Re: anisotropic turbulent eddy viscosity

Hello, Do you want to add "div(R)" explicitly (if yes the routine divrij already do that) or do you have a constitutive law stating "R =-2 nu Grad u +..." With nu a tensor (if yes you can use directly bilscv subroutine and specify the option on the variable "idften(ivar)=6&q...
by Martin FERRAND
Tue Oct 20, 2015 8:39 am
Forum: code_saturne usage
Topic: anisotropic turbulent eddy viscosity
Replies: 8
Views: 6346

Re: anisotropic turbulent eddy viscosity

Hello, Which version do you use? Cfdivs is used only for the compressible module to add explicitly div(sigma.u) in the total energy equation. Which equation would you like to solve? If you want to solve momentum, look at predvv.f90, and the convection diffusion step is done in cs_convection_diffusio...
by Martin FERRAND
Mon Oct 19, 2015 6:45 pm
Forum: code_saturne usage
Topic: anisotropic turbulent eddy viscosity
Replies: 8
Views: 6346

Re: anisotropic turbulent eddy viscosity

Hello, At least for the term "mu_T grad u" you can have an idea of how to do so by greping iporos.eq.2 in the code. Unfortunately the brick to code "mu_T transpose(grad u)" does not exist yet for a tensor mu_T, even if it is not that difficult to adapt it from the scalar brick. I...
by Martin FERRAND
Mon Oct 19, 2015 6:31 pm
Forum: code_saturne usage
Topic: subroutine not over-riding GUI boundary conditions - ALE
Replies: 13
Views: 7839

Re: subroutine not over-riding GUI boundary conditions - ALE

Hello, In fact in version 4.0 you can apply a free surface boundary condition directly in the GUI, if you have switch on the ALE module. For this boundary condition to be valid, you also need to correctly give the gravity vector. It is possible to do it also in fortran subroutines with the "ity...
by Martin FERRAND
Thu Apr 04, 2013 11:35 pm
Forum: code_saturne usage
Topic: Boundary conditions in 3.0.0
Replies: 3
Views: 2347

Re: Boundary conditions in 3.0.0

Hi, as already wrote Jacques, we have changed the writing of the diffusive boundary conditions coefficients. It is up to date in the theory guide. It was done for conveniency purpose and everything which was possible in 2.0 is in 3.0, just a matter of rewriting. By the way, it is formally forbidden ...
by Martin FERRAND
Tue Mar 26, 2013 6:30 pm
Forum: code_saturne usage
Topic: Error in ALE
Replies: 3
Views: 2314

Re: Error in ALE

Dear Code Saturne team, I am using 3.0 version of the code. There is an error message that says, /home/projets/saturne/Code_Saturne/3.0/src/code_saturne-3.0.0/src/gui/cs_gui_mobile_mesh.c:890: Fatal error. Formula is null for ale. Call stack: 1: 0x2aef45dedd34 <bft_error+0x94> (libsaturne.so.0) 2: ...