Search found 4079 matches

by Yvan Fournier
Thu Apr 25, 2024 7:20 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 7
Views: 95

Re: Neumann condition for temperature in only one direction

Hello, I did not notice any obvious mistake, so assuming you boundary zone is indeed named "BC_1", and you replace the correct expression for the flux value, it should work. Note also that if you are using a constant flux value, you can use the GUI. Even with a more complex expression, you...
by Yvan Fournier
Thu Apr 25, 2024 7:13 pm
Forum: code_saturne usage
Topic: user-defined functions
Replies: 3
Views: 32

Re: user-defined functions

Hello, If you are a beginner with the code, I recommend generating the boundary forces output simply by selecting it from the GUI. With user-defined functions, you can do additional filtering, summation, ... but you need to first have the matching field activated, which is not well documented (but c...
by Yvan Fournier
Thu Apr 18, 2024 9:20 pm
Forum: code_saturne usage
Topic: Steady-Compressible flow
Replies: 4
Views: 2075

Re: Steady-Compressible flow

Hello,

I do not think there has been any new development in this regard, though there has been work on another compressible model which may have different constraints.

Did you try forcing the pseudo-steady algorithm using a user-defined function (I.e. cs_user_parameters) ?

Best regards,

Yvan
by Yvan Fournier
Thu Apr 18, 2024 9:15 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 7
Views: 95

Re: Neumann condition for temperature in only one direction

Hello,

Yes, you can use the prescribed flux condition in this case.

Best regards,

Yvan
by Yvan Fournier
Thu Apr 18, 2024 12:03 am
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 7
Views: 95

Re: Neumann condition for temperature in only one direction

Hello, Not only with the GUI, but with the whole of the "legacy" finite volume scheme, Neumann BC's can only be set up relative to the normal direction relative to a boundary. Using the CDO models it is possible to define a Neumann BC using an arbitrary direction. In your case, is the z di...
by Yvan Fournier
Mon Apr 15, 2024 6:56 pm
Forum: code_saturne usage
Topic: meshing criteria
Replies: 4
Views: 68

Re: meshing criteria

Hello,

The issue here does not seem to be the mesh quality, but the fact that you have overlapping zone definitions.

Please check your boundary zone selection criteria definitions.

Regards,

Yvan
by Yvan Fournier
Fri Apr 12, 2024 1:59 pm
Forum: Installation issues
Topic: CGNS: error checking file type
Replies: 1
Views: 34

Re: CGNS: error checking file type

Hello, This error means a CGNS library call (cg_is_cgns) checking that the file is indeed a CGNS file has failed. This could be a bug in the CGNS library (we have tested 4.1.2, 4.4.0, and some 4.3 versions I think, but I am not sure about 4.1.0), and install issue (if CGNS is not built with HDF5 sup...
by Yvan Fournier
Thu Apr 11, 2024 2:06 am
Forum: Discussion
Topic: salome to code_saturne
Replies: 1
Views: 50

Re: salome to code_saturne

Hello,

This should be in the code_saturne usage section, so I may move this topic to that section soon.

The preprocessor log you posted explains the problem: you have only meshed the cylinder's surface, not its volume. So you need to fix your mesh.

Regards,

Yvan
by Yvan Fournier
Wed Apr 03, 2024 1:53 pm
Forum: code_saturne usage
Topic: 2 questions related to Code_Saturne usage
Replies: 2
Views: 76

Re: 2 questions related to Code_Saturne usage

Hello, 1) I think this is the zone of the volume. 2) If you need to compute some combination of z and z_gound, I would use ParaView's calculator. There is also a calculator in the development branch of code_saturne, but I would recommend using the combination that requires the smallest volume of I/O...
by Yvan Fournier
Fri Mar 22, 2024 4:05 am
Forum: code_saturne usage
Topic: Code_Saturne on hpc
Replies: 5
Views: 123

Re: Code_Saturne on hpc

Hello,

Could you follow the forum usage recommendations and provide the relevant logs ?

On the cluster, are you starting the code from the GUI or "code_saturne submit" ? Is the post-install (etc/code_saturne.cfg) step done ?

Regards,

Yvan