Search found 4092 matches
- Mon Apr 29, 2024 10:26 am
- Forum: code_saturne usage
- Topic: Turbulent Channel Flow with Periodic Boundary Conditions
- Replies: 1
- Views: 293
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...
- Sun Apr 28, 2024 10:00 pm
- Forum: code_saturne usage
- Topic: Neumann condition for temperature in only one direction
- Replies: 12
- Views: 1659
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...
- Fri Apr 26, 2024 7:23 pm
- Forum: code_saturne usage
- Topic: user-defined functions
- Replies: 7
- Views: 1255
Re: user-defined functions
Hello,
Simply select the boundary forces output in the Postprocessing/Surface Solution control section.
Best regards,
Yvan
Simply select the boundary forces output in the Postprocessing/Surface Solution control section.
Best regards,
Yvan
- Thu Apr 25, 2024 7:20 pm
- Forum: code_saturne usage
- Topic: Neumann condition for temperature in only one direction
- Replies: 12
- Views: 1659
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...
- Thu Apr 25, 2024 7:13 pm
- Forum: code_saturne usage
- Topic: user-defined functions
- Replies: 7
- Views: 1255
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...
- Thu Apr 18, 2024 9:20 pm
- Forum: code_saturne usage
- Topic: Steady-Compressible flow
- Replies: 4
- Views: 2785
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
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
- Thu Apr 18, 2024 9:15 pm
- Forum: code_saturne usage
- Topic: Neumann condition for temperature in only one direction
- Replies: 12
- Views: 1659
Re: Neumann condition for temperature in only one direction
Hello,
Yes, you can use the prescribed flux condition in this case.
Best regards,
Yvan
Yes, you can use the prescribed flux condition in this case.
Best regards,
Yvan
- Thu Apr 18, 2024 12:03 am
- Forum: code_saturne usage
- Topic: Neumann condition for temperature in only one direction
- Replies: 12
- Views: 1659
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...
- Mon Apr 15, 2024 6:56 pm
- Forum: code_saturne usage
- Topic: meshing criteria
- Replies: 4
- Views: 932
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
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
- Fri Apr 12, 2024 1:59 pm
- Forum: Installation issues
- Topic: CGNS: error checking file type
- Replies: 1
- Views: 1240
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...