Search found 22 matches

by hyder4
Thu Aug 03, 2023 1:45 pm
Forum: code_saturne usage
Topic: Variable Density with Frozen Rotor module
Replies: 2
Views: 4356

Re: Variable Density with Frozen Rotor module

Hi,
I was wondering if there is any update on this?
Best regards,
Hyder.
by hyder4
Sun Jul 30, 2023 5:18 pm
Forum: code_saturne usage
Topic: Variable Density with Frozen Rotor module
Replies: 2
Views: 4356

Variable Density with Frozen Rotor module

Hello Developers, I am running a closed cavity case with variable density (using ideal gas) to model free convection. Do I need to add any extra terms in the momentum equation to make it work ? For example when solving the same problem with constant density I use Boussinesq approximation and add the...
by hyder4
Thu Jun 01, 2023 11:31 pm
Forum: code_saturne usage
Topic: call previous time step values in C
Replies: 1
Views: 4049

call previous time step values in C

Hi,
I am using 7.1.2 version. May I ask how can I call previous time step values in User subroutine in C?
kind regards,
Hyder.
by hyder4
Thu Jun 01, 2023 5:21 pm
Forum: code_saturne usage
Topic: Symmetric Gauss-Seidel: error (divergence) solving for TempK
Replies: 2
Views: 5249

Re: Symmetric Gauss-Seidel: error (divergence) solving for TempK

Hello,
I used the ideal gas equation to define pressure gradient in terms of density and temperature to get an implicit source term, this solved the problem.
Thanks.
Best,
Hyder.
by hyder4
Wed May 31, 2023 4:57 pm
Forum: code_saturne usage
Topic: Enthalpy equation in code_saturne
Replies: 2
Views: 5216

Re: Enthalpy equation in code sauterne

Subroutines used
by hyder4
Wed May 31, 2023 4:56 pm
Forum: code_saturne usage
Topic: Enthalpy equation in code_saturne
Replies: 2
Views: 5216

Enthalpy equation in code_saturne

Hi, I am Running 2D convergence nozzle with Enthalpy equation in version 7.1.2. the area ratio is 4 so the pressure and velocity change along x direction is significant. The Enthalpy equation described in theory guide page 17 is as follows: Screenshot (13).png here dp/dt is the lagrangian derivative...
by hyder4
Wed May 31, 2023 2:13 pm
Forum: code_saturne usage
Topic: Symmetric Gauss-Seidel: error (divergence) solving for TempK
Replies: 2
Views: 5249

Symmetric Gauss-Seidel: error (divergence) solving for TempK

Hi, I am using Code_saturne version 7.1.2. and trying to solve 2D convergent nozzle. I met with the following error. { Symmetric Gauss-Seidel: error (divergence) solving for TempK Call stack: 1: 0x14e241e721da <cs_sles_it_error_post_and_abort+0x8a> (libsaturne-7.1.so) 2: 0x14e241e67322 <cs_sles_solv...
by hyder4
Sun May 28, 2023 11:30 pm
Forum: code_saturne usage
Topic: Call the rotational axis and rotational velocity in user_subrutine in C
Replies: 4
Views: 6967

Re: Call the rotational axis and rotational velocity in user_subrutine in C

Hello,
Got it, thank you.
May I also ask how can I call rotation velocity and axis if I am using Coriolis source term option in body force in GUI?
Best,
Hyder.
by hyder4
Wed May 24, 2023 4:30 pm
Forum: code_saturne usage
Topic: Call the rotational axis and rotational velocity in user_subrutine in C
Replies: 4
Views: 6967

Call the rotational axis and rotational velocity in user_subrutine in C

Dear Developers,

I am using frozen rotor model and I want to call the rotation axis and velocity from GUI to my user subrutine in C.
what function should I use? Thanks!

Kind regards,
Hyder.