Search found 48 matches

by C0st4s
Sun Aug 11, 2019 5:55 pm
Forum: code_saturne usage
Topic: Identify the type and get the value of a boundary
Replies: 6
Views: 3526

Re: Identify the type and get the value of a boundary

Dear Yvan,

Really appreciate your reply. Though, the main issue that I face is that the boundary conditions are prescribed in the GUI (smooth wall with heat flux) and I want to call the value and the type of that in the cs_user_modules.f90.

Best regards,
Costas
by C0st4s
Fri Aug 09, 2019 12:43 pm
Forum: code_saturne usage
Topic: Identify the type and get the value of a boundary
Replies: 6
Views: 3526

Identify the type and get the value of a boundary

Hi, I have a simple question. Is it possible to get the type and the value of an assigned boundary condition inside the cs_user_modules.f90? I tried: call user_boundary_conditions(nvar, itypfb, icodcl, rcodcl) write(*,*) itypfb(ifac), icodcl(ifac, ivart), rcodcl(ifac, ivart,3) !,cvar_scalt(ifac) And...
by C0st4s
Wed Jul 10, 2019 12:05 pm
Forum: code_saturne usage
Topic: Velocity_gradient_calculation
Replies: 9
Views: 4323

Re: Velocity_gradient_calculation

Dear Yvan, I think the problem arises because I try to select a boundary face,<call getfbr>, and based on that selection call the gradient function for the near boundary face cell. For 1 processor the code runs ok but when I switch to 2< it fails since the second processor does not see that informat...
by C0st4s
Wed Jul 03, 2019 8:10 am
Forum: code_saturne usage
Topic: Velocity_gradient_calculation
Replies: 9
Views: 4323

Re: Velocity_gradient_calculation

Dear Yvan,

I have not included my subroutines on purpose. If you think that the problem arises from the way I define the module I will check that again. Otherwise, what is the easiest way to compute the velocity and pressure gradients of cell?

Regards,
Costas
by C0st4s
Tue Jul 02, 2019 11:42 pm
Forum: code_saturne usage
Topic: Velocity_gradient_calculation
Replies: 9
Views: 4323

Re: Velocity_gradient_calculation

Dear Yvan,

Thank you for your reply.
I cannot find anything wrong with my setup but I have attached the files.


Regards,
Costas
by C0st4s
Mon Jul 01, 2019 4:07 pm
Forum: code_saturne usage
Topic: Velocity_gradient_calculation
Replies: 9
Views: 4323

Re: Velocity_gradient_calculation

Dear Yvan, Thanks for the response. The idea is to compute the tangential pressure and the velocity gradient of the boundary cell and then pass that info to a define module. The define module will include both subroutines for the gradients, the subroutine that calls for further calculations and any ...
by C0st4s
Sat Jun 29, 2019 4:38 pm
Forum: code_saturne usage
Topic: Velocity_gradient_calculation
Replies: 9
Views: 4323

Velocity_gradient_calculation

Hi all, I came across a problem when I tried to call the 'call field_gradient_vector(ivarfl(iu), 1, imrgra, inc, gradv)' or the pressure gradient in a subroutine that I build up in the cs_user_module.f90. For some reason it works fine when I use 1 processor. When I switch to more, I get " MPI e...
by C0st4s
Tue Jun 18, 2019 6:21 pm
Forum: Installation issues
Topic: Installation_configuration_errors
Replies: 6
Views: 4857

Re: Installation_configuration_errors

Hi,

Thanks a lot for the support it worked!!

Best regards,
Costas
by C0st4s
Mon Jun 17, 2019 11:07 pm
Forum: Installation issues
Topic: Installation_configuration_errors
Replies: 6
Views: 4857

Re: Installation_configuration_errors

Hello, Appreciate a lot your quick response. I was reading about the LD path that you suggested in the installation guide though I was a bit confused. Could you be a bit more specific on how to add the flag with those arguments? I run the following to configure: sudo ./../src/code_saturne-5.0.10/con...
by C0st4s
Mon Jun 17, 2019 10:51 am
Forum: Installation issues
Topic: Installation_configuration_errors
Replies: 6
Views: 4857

Re: Installation_configuration_errors

Hello, Thanks a lot for your reply. Basically when I tried to configure with the medcoupling it gave an error that it failed for the target 'fvm_medcoupling_la-fvm_to_medcoupling.lo'. I tried without the med coupling, the installation goes well though when I try to run a case I get an error saying t...