Search found 10 matches

by mmagain
Thu May 09, 2024 2:45 pm
Forum: code_saturne usage
Topic: Dimensionless heat flux
Replies: 1
Views: 47

Dimensionless heat flux

Hello,

While reviewing results on the boundaries of my mesh, there is a "dimensionless_heat_flux" component. I could not find what its definition was in the documentation. Can anyone enlighten me?

Best regards
by mmagain
Wed May 01, 2024 6:29 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Hello, I have been able to investigate further and it's really weird. I pinpointed the problem being with trying to do operations with double and cs_real_t (I think). For example The code runs successfully if I write double dT_loc = T_loc; //Here T_loc is defined by cs_real_t T_loc = T[face_id] whic...
by mmagain
Sun Apr 28, 2024 11:33 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Hi Yvan, I switched to code_saturne V8.0 for simplicity as you suggested. The code now compiles but I get a SIGSEGV. I investigated the issue but I was unable to find what was wrong. Do you have any idea what might be wrong ? Best, Michael compile.log run_solver.log cs_user_boundary_conditions.c
by mmagain
Sun Apr 28, 2024 5:38 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Hello, I have tried running the simulation but bc_coeffs has no attribute rcodcl3. How do I do then to apply the Neumann boundary condition correctly ? EDIT : After investigation, it seems I should call the attribute af or bf, but I don't know which one I should call. Here is my code Best regards, M...
by mmagain
Thu Apr 25, 2024 10:19 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Thank you for your fast reply, Yvan.

Unfortunately, I cannot use the GUI because the flux depends on values of the properties of the liquid (such as viscosity, temperature itself, etc.) and are therefore not constant.

I will try it soon.

Best,

Michael
by mmagain
Wed Apr 24, 2024 7:53 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Hello, I am trying to use the cs_user_boundary_conditions.c user subroutine. But I am unsure if that should work, and I find the documentation very hard to read. Could you tell me if the following code should work ? /*============================================================================ * Use...
by mmagain
Fri Apr 19, 2024 3:10 pm
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Great ! Thank you for your help
by mmagain
Thu Apr 18, 2024 1:40 am
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Re: Neumann condition for temperature in only one direction

Hi,

Yes the z direction is normal to my boundary.
Does that mean I can just use the prescribed flux (user law) on this boundary? Since the z-axis is normal to my boundary

Best,

Michael
by mmagain
Wed Apr 17, 2024 12:28 am
Forum: code_saturne usage
Topic: Neumann condition for temperature in only one direction
Replies: 12
Views: 1824

Neumann condition for temperature in only one direction

Hi, I am trying to find a way to implement a Neumann boundary condition on the temperature T in the z direction only. Via the GUI, I can use the "prescribed flux (user law)" to define my function but I don't know how I can define my condition. Essentially I am trying to impose the conditio...
by mmagain
Fri Apr 12, 2024 2:32 am
Forum: Installation issues
Topic: CGNS: error checking file type
Replies: 1
Views: 1305

CGNS: error checking file type

Hi, I am following the "full domain" tutorial. More specifically, the first case. When I arrive at the computation stage. I get the following error displayed : code_saturne ============ Version: 7.0.6-patch Path: /home/fuxin/Code_Saturne/7.0.6-patch/code_saturne-7.0.6-patch/arch/Linux_x86_...