Search found 44 matches

by Mohammad
Thu Dec 12, 2019 3:12 pm
Forum: Code_Saturne usage
Topic: Running parallel calculation from Terminal
Replies: 1
Views: 25

Re: Running parallel calculation from Terminal

Hello,

If you want to run the code with x parallel cores, you have to use the following command:

Code: Select all

code_saturne run -n x
Example
For running the code with 4 parallel cores:

Code: Select all

code_saturne run -n 4
Regards,

Mohammad
by Mohammad
Sun Dec 08, 2019 8:10 pm
Forum: Code_Saturne usage
Topic: Sort the exported data in parallel mode
Replies: 2
Views: 50

Re: Sort the exported data in parallel mode

Hello,

Thanks a lot.
I did it using cs_glob_mesh->global_cell_num and Linux's terminal sort command!

Regards,
Mohammad
by Mohammad
Sun Dec 08, 2019 12:44 pm
Forum: Code_Saturne usage
Topic: Sort the exported data in parallel mode
Replies: 2
Views: 50

Sort the exported data in parallel mode

Hello, I want to export the u component of velocity field every 100 iterations to a file. I also write the coordinates of the cells in 3 columns. So, I wrote the following codes in cs_extra_operations.cs file. const cs_lnum_t n_cells = cs_glob_mesh-> n_cells; cs_real_3_t *cvar_vel = (cs_real_3_t *)C...
by Mohammad
Sun Dec 08, 2019 8:07 am
Forum: Code_Saturne usage
Topic: Disable exporting a field in post-processing stage
Replies: 2
Views: 62

Re: Disable exporting a field in post-processing stage

Hello,

Thank you very much Mr. Yvan Fournier.

Regards,
Mohammad
by Mohammad
Sat Dec 07, 2019 10:36 am
Forum: Code_Saturne usage
Topic: Disable exporting a field in post-processing stage
Replies: 2
Views: 62

Disable exporting a field in post-processing stage

Hello, As you know all user defined fields values will be exported in a specific file (with .0001 extension) in post-processing stage which may occupy a lot of disk space specially for clusters which there is only a very limited disks pace available for user. Is there an option to disable this featu...
by Mohammad
Fri Dec 06, 2019 7:59 pm
Forum: Code_Saturne usage
Topic: How to get the coordinates of specific cells?
Replies: 4
Views: 83

Re: How to get the coordinates of specific cells?

Hello,

Thank you again Luciano!

Regards,
Mohammad
by Mohammad
Thu Dec 05, 2019 10:22 pm
Forum: Code_Saturne usage
Topic: How to get the coordinates of specific cells?
Replies: 4
Views: 83

Re: How to get the coordinates of specific cells?

Hello, Dear Luciano, Thank you very much! I appreciate your help. Just one more question: I want to export the velocity magnitude of each cell + the coordinates of them in every 100 iterations to a file (each cell data in a row with 4 columns). As you know, I should use a loop over cells and if I us...
by Mohammad
Wed Dec 04, 2019 5:15 pm
Forum: Code_Saturne usage
Topic: How to get the coordinates of specific cells?
Replies: 4
Views: 83

How to get the coordinates of specific cells?

Hello,

I want to export the velocity field for specific cells in every 100 iterations.

So, I need the coordinates of the cells for processing the results.

Is there a function or something like that to get the x,y,z coordinates of each cell by giving the cell id?

Regards,
Mohammad
by Mohammad
Wed Dec 04, 2019 4:12 pm
Forum: Code_Saturne usage
Topic: Abnormal increase in linear solvers elapsed time for LES WALE
Replies: 2
Views: 82

Re: Abnormal increase in linear solvers elapsed time for LES WALE

Hello,

Thank you very much dear Yvan, Your replies are always helpful.

The problem caused by diverging and solved.

Regards,
Mohammad