Search found 30 matches

by konst
Thu Jan 18, 2024 10:55 pm
Forum: code_saturne usage
Topic: Error while launching cs under MacOS
Replies: 3
Views: 197069

Re: Error while launching cs under MacOS

I have figured out that this is appeared because I was using libraries hdf5 and med compiled on mac computer using different version of the compiler. I have recompiled hdf5 and med and everything works without errors.

Thanks for help.
by konst
Wed Jan 10, 2024 5:28 pm
Forum: code_saturne usage
Topic: Atmospheric flow : Changing IWALFS
Replies: 4
Views: 224419

Re: Atmospheric flow : Changing IWALFS

Using Code_Saturne for atmospheric flows, I have some difficulties in order to maintain input meteo profiles (initially generated through idealized large scale meteorological data) on a flat terrain with stable conditions (it's quite fine for both neutral and unstable conditions). Any feedback/sugg...
by konst
Wed Jan 10, 2024 1:08 pm
Forum: code_saturne usage
Topic: Error while launching cs under MacOS
Replies: 3
Views: 197069

Re: Error while launching cs under MacOS

Dear Yvan,

Thanks for reply I will try to do this procedure. I have clean the build directory before compiling.

Best regards,
Konstantin
by konst
Fri Jan 05, 2024 4:07 pm
Forum: code_saturne usage
Topic: Error while launching cs under MacOS
Replies: 3
Views: 197069

Error while launching cs under MacOS

Hello, I had a problem launching code_saturne from master branch under MacOS. Some problems I have resolved but can not resolve this problem: konst@Konstantins-MacBook-Pro 20240105-1434 % ./run_solver dyld[56974]: symbol not found in flat namespace '_cs_glob_ale' I am using Mac with M1 processor. Do...
by konst
Sat Mar 04, 2023 8:32 pm
Forum: code_saturne usage
Topic: Implementing Shallow Water Equation in Code_Saturne
Replies: 2
Views: 5171

Implementing Shallow Water Equation in Code_Saturne

Hi everyone, I am wondering if anyone has tried to implement shallow water equation and could provide some guidance or tips. Specifically, I am curious if it's possible to implement the shallow water equation using tools provided by CDO modules. If anyone has experience with this or any ideas on how...
by konst
Wed Oct 02, 2019 6:36 pm
Forum: code_saturne usage
Topic: Default format of probes
Replies: 1
Views: 5304

Default format of probes

Hello! I define a set of monitoring probes in the cs_user_postprocess.c: /* Define monitoring probes */ /* A writer (id = CS_POST_WRITER_PROBES) using the format "time_plot" is associated by default to a set of monitoring probes. This is not the case for a profile. */ { cs_coord_t a = 0.00...
by konst
Tue Jun 11, 2019 6:12 pm
Forum: code_saturne usage
Topic: cs_user_boundary_conditions.c in case of rough surface and Spalart-Allmaras
Replies: 1
Views: 7570

Re: cs_user_boundary_conditions.c in case of rough surface and Spalart-Allmaras

I figured it out, maybe it will help to someone. The code is correct, but the problem was coming from the absence of convergence in model. So I found that it is better to use pseudo-coupled velocity-pressure solver and do not mix smooth and rough boundaries while using Spalart-Allmaras model. Best r...
by konst
Fri Jun 07, 2019 6:32 pm
Forum: code_saturne usage
Topic: cs_user_boundary_conditions.c in case of rough surface and Spalart-Allmaras
Replies: 1
Views: 7570

cs_user_boundary_conditions.c in case of rough surface and Spalart-Allmaras

Bonjour, I am trying to run Spalart-Allmaras model with rough surface and prescribe BC by user-function in this way: f = CS_F_(nusa);//get turbulence energy field int ivar_nu = cs_field_get_key_int(f, keyvar) - 1; //ivar for k cs_selector_get_b_face_list("inlet or outlet", &nelts, lste...
by konst
Fri Apr 12, 2019 11:12 am
Forum: code_saturne usage
Topic: Wind tunnel by Launder-Sharma k-epsilon
Replies: 4
Views: 13174

Re: Wind tunnel by Launder-Sharma k-epsilon

I have implemented option of Launder-Sharma model to GUI. Looks like it works. There is questions what kind of wall-functions is possible to use with that model. I implemented the same wall functions options as for k-epsilon models, but maybe it should be just two options: 1) wallfunction "all ...
by konst
Wed Apr 10, 2019 6:14 pm
Forum: code_saturne usage
Topic: Wind tunnel by Launder-Sharma k-epsilon
Replies: 4
Views: 13174

Re: Wind tunnel by Launder-Sharma k-epsilon

Thank you for your reply ! But this will not work with GUI, because setting of GUI has a priority over cs_user_parameters.c, right? If that's right could you provide an example how to use CS6.0 without GUI (all set of necessary files... cs_user_scripts.py maybe). Thanks. PS. I was planning to apply ...