Search found 40 matches

by fracenvi
Mon Jul 21, 2025 3:36 pm
Forum: code_saturne usage
Topic: ParMETIS not found
Replies: 3
Views: 58572

Re: ParMETIS not found

Hello Yvan,

Actually i noticed that this error appears only when i try to run a case which involves the C++ implementation of PyTorch (i'm trying to run an ANN inference inside the code). To test it, i tried to run a case without implementing PyTorch and with the same code configuration, and the ...
by fracenvi
Fri Jul 18, 2025 4:49 pm
Forum: code_saturne usage
Topic: ParMETIS not found
Replies: 3
Views: 58572

ParMETIS not found

Hello,

I'm trying to run a case where mesh partitioning is required and i have the following error:

/home/cenvinzf@coria.fr/Desktop/code_saturne_coria-HuuTri_dev/code_saturne/src/mesh/cs_partition.c:2934: Fatal error.

Partitioning with METIS required but neither
ParMETIS nor METIS is available ...
by fracenvi
Tue May 20, 2025 4:42 pm
Forum: code_saturne usage
Topic: Mass fraction conversion with combustion module
Replies: 3
Views: 10678

Re: Mass fraction conversion with combustion module

Hello,

I found a function called cs_combustion_gas_yg2xye that does partially what i wanted. I managed to call it correctly in my user subroutines but it doesn't actually give me the field of values but rather what i suppose being the average.

Is it me to not have understood correctly how the ...
by fracenvi
Wed May 14, 2025 7:56 pm
Forum: code_saturne usage
Topic: Mass fraction conversion with combustion module
Replies: 3
Views: 10678

Mass fraction conversion with combustion module

Hello everyone,

I am running a simple case with the combustion module on and i was wondering if there is any function present in the code to eventually convert the ym_fuel, ym_oxyd and ym_prod to the actual mass fractions of the components of the mixture (e.g., in the case of methane combustion ...
by fracenvi
Tue Mar 25, 2025 12:58 pm
Forum: code_saturne usage
Topic: Problem when replacing fields during RANS with combustion module on
Replies: 4
Views: 23619

Re: Problem when replacing fields during RANS with combustion module on

Hello Yvan,

Thanks for the tip on the temperature and the density. From what i understood you think the possible "explosion" of the pressure values may also be attributed to the wrong density algorithm chosen, am i right?

I will now try to see what happens in both cases with idilat set to 2 and ...
by fracenvi
Tue Mar 18, 2025 12:27 pm
Forum: code_saturne usage
Topic: Problem when replacing fields during RANS with combustion module on
Replies: 4
Views: 23619

Re: Problem when replacing fields during RANS with combustion module on

Hello Yvan,

I'm trying to turn off density, temperature and mass fraction calculations (those for ym_fuel, ym_oxyd and ym_prod). Should i be checking then in scalai.f90? I saw that the routine calls upon covofi for resolution of the scalars, hence i run some checks in covofi.f90 and this was the ...
by fracenvi
Thu Mar 13, 2025 11:18 am
Forum: code_saturne usage
Topic: Problem when replacing fields during RANS with combustion module on
Replies: 4
Views: 23619

Problem when replacing fields during RANS with combustion module on

Hello everyone,

I'm trying to run a simulation of a simple combustion case where after a certain number of iterations, calculation of certain fields is "moved" to a certain subroutine, that implements a neural network. The newly computed fields are then used to replace the actual CFD fields inside ...
by fracenvi
Thu Jan 30, 2025 2:52 pm
Forum: code_saturne usage
Topic: MPI fail on multiprocess run
Replies: 3
Views: 21026

Re: MPI fail on multiprocess run

Hello,

I actually managed to sort the bug out, as the command i was using to launch the code was not passing the correct number of processors needed to perform the computation.

Regards,
Francesco
by fracenvi
Wed Jan 29, 2025 7:00 pm
Forum: code_saturne usage
Topic: MPI fail on multiprocess run
Replies: 3
Views: 21026

MPI fail on multiprocess run

Hello,

I'm trying to run a case on a multiprocess setup, but whatever the amount of processors i provide it always gives me back:

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE ...
by fracenvi
Mon Jan 13, 2025 8:50 pm
Forum: code_saturne usage
Topic: NaN values when passing from a subroutine to another
Replies: 1
Views: 13782

NaN values when passing from a subroutine to another

Hello,

I'm trying to run a C++ function within a cs_user_physical_properties.f90 subroutine. Everything has been implemented just fine following how this C++/Fortran coupling is done in other standard routines, but i don't get why when passing fields from the fortran to C++ NaN values will appear ...