Search found 44 matches

by lzhang
Thu Dec 21, 2017 5:20 pm
Forum: code_saturne usage
Topic: How face force is calculated in saturne
Replies: 1
Views: 1323

How face force is calculated in saturne

Hello, I'd like to know how the face force is calculated in code_saturne (which can be obtained using field_get_val_v(iforbr, forbr)). I'm using the version 5.0.4, so where are the related subroutines located? And in my simulation, the face force is always 0 at the end of the first iteration, afterw...
by lzhang
Wed Dec 20, 2017 6:01 pm
Forum: code_saturne usage
Topic: compile source files in fsi_coupling
Replies: 3
Views: 1947

Re: compile source files in fsi_coupling

Hello, For example, with the file salome/fsi_coupling/libmilieu/runmilieu.c, I have the compilation error like "runmilieu.c:(.text+0x16) : référence indéfinie vers « inicom »" when trying to compile it. If I understand well, the files located in salome/fsi_coupling/libmilieu are compiled a...
by lzhang
Wed Dec 20, 2017 11:35 am
Forum: code_saturne usage
Topic: compile source files in fsi_coupling
Replies: 3
Views: 1947

compile source files in fsi_coupling

Hello, I would like to modify some source files located in code_sature-5.0.4/salome/fsi_coupling in order to perform fluid-structure interaction using Yacs. I know that for source files of code_saturne, we can place it in the SRC directory of a test case, then use "code_saturne compile" to...
by lzhang
Tue Dec 12, 2017 10:39 am
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello,

Yes, I updated the config file. I think they are some configuration issues with salome_meca 2017.

Thanks a lot, I am waiting for your results.

Best regards,

Lei
by lzhang
Mon Dec 11, 2017 3:40 pm
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello, As you recommended, I began to build my test case using salome_meca2017. However I encountered several problems: firstly, when I launch the application runcase, I have following errors: /home/lzhang/Study_Code_Saturne/Cas/test2017_cylindres_concentriques/RESU_COUPLING/20171211-1525/appli/runS...
by lzhang
Sat Dec 09, 2017 11:31 pm
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello, I am using salome_meca2015_2 and code_saturne 5.0.4. Indeed I used Gui to build my test case, and I have no idea where the variable asddlf is rewritten. I would like also to check the face force, as it seems to be very small. Do you you know where the associated file is located? And what do y...
by lzhang
Sat Dec 09, 2017 3:33 pm
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello, Thanks for your response! If I understand well, choosing F_z in fix force component has the same effect of setting asddlf(3, 1) = 0, where 3 means the Z direction and 1 means the first defined external structure? So the value of asddlf should be either 1 or 1? Because in my simulation result,...
by lzhang
Fri Dec 08, 2017 8:21 pm
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello, I checked the output information and I found that the face force sent by code_saturne is 0. This is very strange, as obviously I have fluid flow in the domain. Maybe there are some configuration errors in my code_saturne set up. Could you please explain the meaning of fix force components in ...
by lzhang
Thu Dec 07, 2017 6:07 pm
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello, Yes, my program can run until the end, however the results are probably wrong. I am trying to simulate the impact of fluid over a beam, and I did firstly the code chaining : I ran a code_saturne simulation with only the fluid and save the fluid force to a MED file, then I ran a code_aster sim...
by lzhang
Thu Nov 30, 2017 11:09 am
Forum: code_saturne usage
Topic: error in coupling code_saturne and code_aster using Yacs
Replies: 29
Views: 15347

Re: error in coupling code_saturne and code_aster using Yacs

Hello, As you recommended, I'll try with the latest version of salome-meca. I found that the problem at the 10th step was due to the fact that in yacs scheme, the iteration number was defined to be 10. I think that it's a default value given by launching the code coupling. It looks like the program ...