Search found 43 matches

by Ionut G
Thu Feb 25, 2021 5:44 pm
Forum: code_saturne usage
Topic: Velocity at the wall
Replies: 4
Views: 6021

Re: Velocity at the wall

Hi Yvan,

Are you visualizing the same results files with ParaView and FLUENT (I assume in EnSight gold or CGNS format) ?
Or different computations on the same mesh ?

I managed to run more simulations on different geometries like flat plate and flat channel, but I get the same issue with the ...
by Ionut G
Tue Feb 09, 2021 12:13 pm
Forum: code_saturne usage
Topic: cs_wall_functions.h
Replies: 7
Views: 10220

Re: cs_wall_functions.h

Hello,


I think I have another issue transferring the data from "cs_user_boundary_conditions.f90" to "cs_wall_functions.h".
In "cs_user_boundary_conditions.f90" I compute the pressure gradient for all the cells adjacent to the wall boundary, then I used these values to calculate the friction ...
by Ionut G
Fri Jan 29, 2021 5:28 pm
Forum: code_saturne usage
Topic: cs_wall_functions.h
Replies: 7
Views: 10220

Re: cs_wall_functions.h

Hello,

Thank you Yvan, your recommendations helped me to solve the issue.

I have written to files for testing purposes, to be sure that the variable I pass from FORTRAN to C is correct.

I have a variable allocated to pass the data from FORTRAN to C.

Best Regards,
Ionut
by Ionut G
Thu Jan 28, 2021 2:58 pm
Forum: code_saturne usage
Topic: cs_wall_functions.h
Replies: 7
Views: 10220

Re: cs_wall_functions.h

Hello,

I am running in parallel, 28 processes.

Is there a solution to overcome this issue?


Best Regards,

Ionut
by Ionut G
Wed Jan 27, 2021 7:17 pm
Forum: code_saturne usage
Topic: cs_wall_functions.h
Replies: 7
Views: 10220

Re: cs_wall_functions.h

Hello,

I attached the files that I use in Code_Saturne, as an archive.

In "cs_user_boundary_conditions.f90", I calculate the pressure gradient.

In the file "cs_wall_functions.h", I modified the "cs_wall_functions_1scale_log", starting at line number 198.
Here I will use the variable for pressure ...
by Ionut G
Tue Jan 26, 2021 4:05 pm
Forum: code_saturne usage
Topic: cs_wall_functions.h
Replies: 7
Views: 10220

cs_wall_functions.h

Hello,

What cells are used in the calculation process by the "cs_wall_functions.h" function?
I am assuming that it is applied on the cells adjacent to a wall boundary.

I am trying to implement a wall function that considers, in predicting the velocity distribution, the pressure gradient.
I ...
by Ionut G
Tue Jul 07, 2020 3:34 pm
Forum: code_saturne usage
Topic: Post-process uet and uk
Replies: 3
Views: 4267

Re: Post-process uet and uk

Hello Yvan,

Thank you very much for your support!

I tried to initialize uet, but I keep having the same error SIGSEGV signal, as in the first post.

Could you give me some more guidance or some examples on how to save variables from cs_wall_functions.h subroutine?

I attached the files that I am ...
by Ionut G
Mon Jul 06, 2020 3:41 pm
Forum: code_saturne usage
Topic: Post-process uet and uk
Replies: 3
Views: 4267

Post-process uet and uk

Hello everyone,

I am running k-omega SST, with no wall function, simulations on a straight channel.
I need to save to the post-processing results the friction velocities uet(ustar) and uk.
From the forum discussions I understand that I need to use the "cs_user_postprocess_var.f90" file in order to ...
by Ionut G
Fri May 15, 2020 9:42 am
Forum: code_saturne usage
Topic: CGNS error:Invalid index ranges.
Replies: 5
Views: 6230

Re: CGNS error:Invalid index ranges.

Hello Yvan,

I could not find the tools for testing the CGNS file format mesh for the windows platform, I am using windows 10.

I managed to solve the problem by reinstalling all the software, Code_Saturne and Icem CFD.

Now the simulations are working again.


Thank you very much for your support ...
by Ionut G
Mon May 11, 2020 8:46 am
Forum: code_saturne usage
Topic: CGNS error:Invalid index ranges.
Replies: 5
Views: 6230

Re: CGNS error:Invalid index ranges.

Thank you Yvan for the quick reply!

I am using ICEM CFD 16.2.
I did not updated the version of any software that I am using.
I am using the same software versions as in the past, Code_Saturne 5.0.7 and ICEM CFD 16.2, and everything was fine on the same geometry.
When I am using a mesh that I made ...