Search found 4088 matches

by Yvan Fournier
Sat May 11, 2024 10:06 pm
Forum: code_saturne usage
Topic: Question related Code_Saturne recommandation
Replies: 1
Views: 62

Re: Question related Code_Saturne recommandation

Hello,

I'll need to check with atmospheric model specialists, but i would assume you can simply change the viscosity in the GUI.

Best regards,

Yvan
by Yvan Fournier
Sat May 11, 2024 10:04 pm
Forum: code_saturne usage
Topic: Convergence issues with CGNS mesh from Star-CCM+
Replies: 1
Views: 20

Re: Convergence issues with CGNS mesh from Star-CCM+

Hello, The CGNS version detection workaround is available in v8.0, not v7.0, so with V8, you would not need to change the CGNS version. Otherwise, the mesh export seems OK. One issue with the mesh is that you have what looks like a viscous layer at the inlet and outlet, whereas this is useful only f...
by Yvan Fournier
Sat May 11, 2024 8:03 pm
Forum: code_saturne usage
Topic: Dimensionless heat flux
Replies: 1
Views: 33

Re: Dimensionless heat flux

Hello, If I remember correctly, this is an attempt at the estimation of the Nusselt Number. But contrary to the "real" Nusselt number which is based on a bulk temperature in a zone which needs to be chosen, this uses the near wall temperature (i.e. the temperare in the cell adjacent to a b...
by Yvan Fournier
Wed May 01, 2024 6:50 pm
Forum: code_saturne usage
Topic: Condensation and moisture simulation
Replies: 1
Views: 67

Re: Condensation and moisture simulation

Hello, I am not sure about this. There are some models involving condensation and moisture in the code, but those were developed in the context of specific models (such as cooling towers, or condensation on metal structures), but I am not sure there is a "high level" model, and documentati...
by Yvan Fournier
Wed May 01, 2024 6:45 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1161

Re: Neumann condition for temperature in only one direction

Hello, When behavior gets really strange like this, it probably means that there is some sort of error upstream of where the crash appears. When switching to v8.0, did you align the user-defined function ? There may be a change in the arguments (a tool such as meld can be useful for this). Otherwise...
by Yvan Fournier
Tue Apr 30, 2024 7:27 pm
Forum: code_saturne usage
Topic: user-defined functions
Replies: 7
Views: 861

Re: user-defined functions

Hello,

Yes the computation seems to diverge.
The code has a safety stop when velocity reaches 10000 m/s as that is out of physical bounds for incompressible flow, and stopping cleanly still allows for postprocessing.

Best regards,

Yvan
by Yvan Fournier
Mon Apr 29, 2024 10:26 am
Forum: code_saturne usage
Topic: Turbulent Channel Flow with Periodic Boundary Conditions
Replies: 1
Views: 49

Re: Turbulent Channel Flow with Periodic Boundary Conditions

Hello, Regarding 1), cs_meg* functions are not user-defined functions. They are generated by the code based on the definitions in the GUI, so your changes will be overwritten. Use cs_user_initialization instead. Regarding 2), how much fluctuations do you have ? I am not sure you can get something co...
by Yvan Fournier
Sun Apr 28, 2024 10:00 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1161

Re: Neumann condition for temperature in only one direction

Hello, Using v7.0, you do not have direct access to "bc_coeffs->rcodcl3[face_id]", as this was added in v8.0 for better readbility. In v7.0, the equivalent for this is rcodcl[2 * n_b_faces * nvar + var_id*n_b_faces + face_id] = flux; (See last example in cs_user_boundary_conditions-noteboo...
by Yvan Fournier
Fri Apr 26, 2024 7:23 pm
Forum: code_saturne usage
Topic: user-defined functions
Replies: 7
Views: 861

Re: user-defined functions

Hello,

Simply select the boundary forces output in the Postprocessing/Surface Solution control section.

Best regards,

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

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