Search found 22 matches

by hyder4
Fri Apr 21, 2023 1:01 am
Forum: code_saturne usage
Topic: Coriolis source terms.
Replies: 0
Views: 230851

Coriolis source terms.

Hi,
may I ask if I add Coriolis source terms from gui, is centrifugal term inside the pressure gradient or outside in the NS equations?
by hyder4
Fri Apr 21, 2023 12:59 am
Forum: code_saturne usage
Topic: Error running long pipe with variable density subroutine
Replies: 9
Views: 6692

Re: Error running long pipe with variable density subroutine

Hi,
Thanks it solved the problem.

Best,
Hyder.
by hyder4
Thu Apr 20, 2023 8:17 pm
Forum: code_saturne usage
Topic: Error running long pipe with variable density subroutine
Replies: 9
Views: 6692

Re: Error running long pipe with variable density subroutine

Hello, I have done everything you described and also installed sauterne version 7.3.0. it seems the error is coming when I call the temperature using { call field_get_val_s(ivarfl(isca(iscalt)),cvar_scalt)} function in the subroutine. is there a way to solve this problem? one of the interesting thin...
by hyder4
Thu Apr 20, 2023 1:06 am
Forum: code_saturne usage
Topic: Error running long pipe with variable density subroutine
Replies: 9
Views: 6692

Re: Error running long pipe with variable density subroutine

Thank you. Please keep me updated.
best,
Hyder.
by hyder4
Thu Apr 20, 2023 1:03 am
Forum: code_saturne usage
Topic: Energy Equation Subroutines and adding terms in it
Replies: 8
Views: 5769

Re: Energy Equation Subroutines and adding terms in it

Hi,
Just looked at it Thank you. I am also curious to know in what subroutines they are being solved. is there a way I can know that as well?
Best,
Hyder.
by hyder4
Tue Apr 18, 2023 4:03 pm
Forum: code_saturne usage
Topic: Energy Equation Subroutines and adding terms in it
Replies: 8
Views: 5769

Re: Energy Equation Subroutines and adding terms in it

Hi,
The terms I want to add depends on what heat equation the code_saturne is solving at the moment. may I ask if its solving equation 1
Eq 2.png
(5.79 KiB) Not downloaded yet
or equation 2
Eq 1.png
(3.18 KiB) Not downloaded yet
?
One of my senior is also using code saturne. he believes code_saturne solves equation 1.
Best regards,
Hyder
by hyder4
Tue Apr 18, 2023 2:45 pm
Forum: code_saturne usage
Topic: Error running long pipe with variable density subroutine
Replies: 9
Views: 6692

Re: Error running long pipe with variable density subroutine

do you mean this? { all stack: 1: 0x7fc413989bfe <cs_f_field_var_ptr_by_id+0x7e> (libsaturne-7.1.so) 2: 0x7fc4140c2c6c <__field_MOD_field_get_val_s+0x21> (libsaturne-7.1.so) 3: 0x556e5065037d <usphyv_+0x74> (cs_solver) 4: 0x7fc413a7cd9b <phyvar_+0x1c2> (libsaturne-7.1.so) 5: 0x7fc4139059fa <caltri_+...
by hyder4
Tue Apr 18, 2023 1:34 pm
Forum: code_saturne usage
Topic: Error running long pipe with variable density subroutine
Replies: 9
Views: 6692

Error running long pipe with variable density subroutine

Hi, I was running a simulation of a long pipe to check user subroutine in which I defined density as variable using the ideal gas equation and I got an error as follows. { code_saturne_7.1_git/code_saturne-7.1/src/base/cs_field.c:1103: Fatal error. Fortran pointer of rank 1 requested for values of f...
by hyder4
Tue Apr 18, 2023 1:19 pm
Forum: code_saturne usage
Topic: Energy Equation Subroutines and adding terms in it
Replies: 8
Views: 5769

Re: Energy Equation Subroutines and adding terms in it

Hello,
Sorry I mean is this energy equation.
Eq 2.png
(5.79 KiB) Not downloaded yet
or this
Eq 1.png
(3.18 KiB) Not downloaded yet
.
Best regards,
Hyder.