Two-way coupling code_saturne / code_aster

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Oliveira77
Posts: 26
Joined: Fri Feb 27, 2015 10:15 pm

Two-way coupling code_saturne / code_aster

Post by Oliveira77 »

Hello all!

I am studying a FSI problem on pipe systems. My intention is work with two-way coupling involving flexible pipe using Saturne and Aster.
I have installed Code_Saturne 4.0.4 with Salome-Meca 2015.1. Someone can help me with a test case, a initial schema of the YACS (I have not worked with YACS) or tell me how to initialize that study?

Thankful!

Flávio
Yvan Fournier
Posts: 4081
Joined: Mon Feb 20, 2012 3:25 pm

Re: Two-way coupling code_saturne / code_aster

Post by Yvan Fournier »

Hello,

To test your installation, "code_saturne create -c <fluid> --aster <solid>" should be able to create an (empty) coupled case, but first, you need to do the post-install stage to tell Code_Saturne where Code_Aster can be found: copy <install_prefix>/etc/code_saturne.cfg.template to <install_prefix>/etc/code_saturne.cfg and edit it (search for "aster" in the file, edit, and uncomment).

I'll try to see with the FSI colleagues if they can post a small test case...

Regards,

Yvan
Oliveira77
Posts: 26
Joined: Fri Feb 27, 2015 10:15 pm

Re: Two-way coupling code_saturne / code_aster

Post by Oliveira77 »

Hello Yvan,

Thank you for your collaboration. The post-install and the creation of the empty coupled case, as you written, was done with success.

I wait for your return about the test case.

Best regards!

Flávio
Yvan Fournier
Posts: 4081
Joined: Mon Feb 20, 2012 3:25 pm

Re: Two-way coupling code_saturne / code_aster

Post by Yvan Fournier »

Hello,

The colleague working on IFS should send me a test case next Monday. Il'll post it then.

Regards,

Yvan
Oliveira77
Posts: 26
Joined: Fri Feb 27, 2015 10:15 pm

Re: Two-way coupling code_saturne / code_aster

Post by Oliveira77 »

Hello Yvan,

Did you get the test case?

Thank you!

Flávio
Yvan Fournier
Posts: 4081
Joined: Mon Feb 20, 2012 3:25 pm

Re: Two-way coupling code_saturne / code_aster

Post by Yvan Fournier »

Hello,

Not yet: the person who should give it to me delayed until Friday. I hope I do get it on Friday, as I won't be in next week.

Just in case, here is a partial setup I had kept from some earlier tests. The "f" directory is for the fluid setup, and "s" for solid. In this example, the solid "comm" (Code_Aster commands) and mesh files are empty, and need to be replaced by your own. The Code_Saturne xml file is for version 4.0, but more recent versions should auto-update it if needed if you open than save it again with the GUI.

Regards,

Yvan
Attachments
aster_coupling.tar.gz
(2.49 KiB) Downloaded 398 times
Oliveira77
Posts: 26
Joined: Fri Feb 27, 2015 10:15 pm

Re: Two-way coupling code_saturne / code_aster

Post by Oliveira77 »

Thank you Yvan!

I'll try to run this case.

Regards!

Flávio
Oliveira77
Posts: 26
Joined: Fri Feb 27, 2015 10:15 pm

Re: Two-way coupling code_saturne / code_aster

Post by Oliveira77 »

Hello Yvan,

I created a coupling case as your post, but appeared the following error:

Error while trying to create a new component: component 'FSI_SATURNE' is not installed or it's a wrong name
SALOME_Container::create_component_instance failed
Error while trying to create a new component: component 'FSI_ASTER' is not installed or it's a wrong name
SALOME_Container::create_component_instance failed
Problem in connectService: fluid_service Component is probably not launched. Modify your YACS file

Do you can help me with this? I searched in salome forum, but I didn't found any answers.

Thank you!
Yvan Fournier
Posts: 4081
Joined: Mon Feb 20, 2012 3:25 pm

Re: Two-way coupling code_saturne / code_aster

Post by Yvan Fournier »

Hello,

Could you post your config.log, to check if the --with-salome.. configure options detected/configured everything correctly (post-install is not enough).

Regards,

Yvan
Oliveira77
Posts: 26
Joined: Fri Feb 27, 2015 10:15 pm

Re: Two-way coupling code_saturne / code_aster

Post by Oliveira77 »

Hello,

Config.log attached.

Regards!

Flávio
Attachments
config.log
(215.43 KiB) Downloaded 312 times
Post Reply