Search found 36 matches

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: 9169

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 ...
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: 9169

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 out...
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: 9169

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 field...
by fracenvi
Thu Jan 30, 2025 2:52 pm
Forum: code_saturne usage
Topic: MPI fail on multiprocess run
Replies: 3
Views: 9614

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: 9614

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: invoking...
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: 7533

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. T...
by fracenvi
Sat Dec 07, 2024 4:44 pm
Forum: code_saturne usage
Topic: Missing "stress_normal" field present in setup.xml
Replies: 3
Views: 11821

Re: Missing "stress_normal" field present in setup.xml

Hello, How can i access it then? Beacuse in post-processing i can see both "Normal_stress" and "Stress" as boundary fields and i think the boundary_stress field you are mentioning only refers to "Stress". Eventually, if i have to evaluate it sohuld i refer to the user e...
by fracenvi
Fri Dec 06, 2024 2:54 pm
Forum: code_saturne usage
Topic: Missing "stress_normal" field present in setup.xml
Replies: 3
Views: 11821

Missing "stress_normal" field present in setup.xml

Hello, I'm trying to run a calculation in which i try to couple ANN resolution for certain fields with the standard numerical resolution and i need to collect certain data every n time steps. One of them is the measure of the normal stress (that i can easily collect during the postprocess phase) whi...
by fracenvi
Thu Oct 17, 2024 2:16 pm
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 22
Views: 42468

Re: Library not found with custom compile file

Hello Yvan,

Actually i did manage to find which was the mistake, it related to my C++ implementation of the neural network. After debugging it, now the code is actually running smoothly, giving back all of the needed output files.

Thanks for the help and regards,
Francesco
by fracenvi
Tue Oct 08, 2024 4:55 pm
Forum: code_saturne usage
Topic: Library not found with custom compile file
Replies: 22
Views: 42468

Re: Library not found with custom compile file

hello, I do run the code from an ssh connection since i have no access to the machine at the moment and is a standard Ubuntu machine. When adding the --initalize option i actually have the run_solver and the cs_solver executable files (attached here), the following is the output of "ldd cs_solv...