Hello,
You can have a look at the Code_Saturne theory documentation:
https://www.code-saturne.org/cms/sites/ ... theory.pdf
Regards,
Jamal
Search found 9 matches
- Thu Dec 12, 2019 2:54 pm
- Forum: code_saturne usage
- Topic: Residuals values and computing
- Replies: 2
- Views: 2711
- Tue Nov 19, 2019 12:42 pm
- Forum: code_saturne usage
- Topic: Scalar source term using the GUI on CS V4
- Replies: 2
- Views: 10295
Re: Scalar source term using the GUI on CS V4
Hello,
S is the species source term and dS is the species source term derivative.
Here you can find some additional information (v5.0): https://www.code-saturne.org/cms/sites/ ... annel.html
Regards,
Jamal
S is the species source term and dS is the species source term derivative.
Here you can find some additional information (v5.0): https://www.code-saturne.org/cms/sites/ ... annel.html
Regards,
Jamal
- Wed Oct 30, 2019 4:22 pm
- Forum: code_saturne usage
- Topic: Problem in Energy Balance example file?
- Replies: 4
- Views: 3106
Re: Problem in Energy Balance example file?
Hello, What do you expect from this code snippet? And more precisely what is this array cvar_H_11 (enthalpy?...) If cvar_H_11 is a pointer to the cell values of the enthalpy then you have to retrieve the cell_id corresponding to the face_id in your loop on the boundary faces (just as I mentioned in ...
- Wed Oct 30, 2019 11:36 am
- Forum: code_saturne usage
- Topic: Problem in Energy Balance example file?
- Replies: 4
- Views: 3106
Re: Problem in Energy Balance example file?
Hello,
In this example ifac is the id of the boundary face while iel = ifabor(ifac) is the id of the (unique) neighboring cell of the same boundary face.
Regards,
Jamal
In this example ifac is the id of the boundary face while iel = ifabor(ifac) is the id of the (unique) neighboring cell of the same boundary face.
Regards,
Jamal
- Tue Oct 29, 2019 1:48 pm
- Forum: code_saturne usage
- Topic: How to get the mesh elements on a specific boundary or plane?
- Replies: 3
- Views: 2888
Re: How to get the mesh elements on a specific boundary or plane?
Yes. It's the equivalent of the Fortran function.
Jamal
Jamal
- Tue Oct 29, 2019 1:28 pm
- Forum: code_saturne usage
- Topic: How to get the mesh elements on a specific boundary or plane?
- Replies: 3
- Views: 2888
Re: How to get the mesh elements on a specific boundary or plane?
Hello,
See the following example on how to get the elements of a boundary and apply boundary conditions on them thanks to the FORTRAN function getfbr() :
https://www.code-saturne.org/cms/sites/ ... mples.html
Regards,
Jamal
See the following example on how to get the elements of a boundary and apply boundary conditions on them thanks to the FORTRAN function getfbr() :
https://www.code-saturne.org/cms/sites/ ... mples.html
Regards,
Jamal
- Fri Oct 25, 2019 10:34 am
- Forum: code_saturne usage
- Topic: How to define a new vector field and its values?
- Replies: 6
- Views: 3903
Re: How to define a new vector field and its values?
Hello, You can add a new scalar or vector field in the subroutine cs_user_parameter.c by using the function: cs_parameters_add_variable (name, dimension). you can find here an example of adding a scalar field: https://www.code-saturne.org/cms/sites/default/files/docs/6.0/doxygen/src/parameters.html ...
- Thu Oct 10, 2019 9:35 am
- Forum: code_saturne usage
- Topic: How can I get the derivatives of velocity field?
- Replies: 10
- Views: 8656
Re: How can I get the derivatives of velocity field?
Hello,
I can't see your attached images.
Jamal
I can't see your attached images.
Jamal
- Wed Oct 09, 2019 2:59 pm
- Forum: code_saturne usage
- Topic: How can I get the derivatives of velocity field?
- Replies: 10
- Views: 8656
Re: How can I get the derivatives of velocity field?
Hello, You can get a gradient of a field(scalar, vector or tensor) by using the following Code_Saturne functions: cs_field_gradient_scalar()/cs_field_gradient_vector()/cs_field_gradient_tensor() in C language or call field_gradient_scalar() in fortran 90. The following link of Code_Saturne documenta...