Two-way coupling code_saturne / code_aster
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 26
- Joined: Fri Feb 27, 2015 10:15 pm
Two-way coupling code_saturne / code_aster
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
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
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Two-way coupling code_saturne / code_aster
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
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
-
- Posts: 26
- Joined: Fri Feb 27, 2015 10:15 pm
Re: Two-way coupling code_saturne / code_aster
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
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
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Two-way coupling code_saturne / code_aster
Hello,
The colleague working on IFS should send me a test case next Monday. Il'll post it then.
Regards,
Yvan
The colleague working on IFS should send me a test case next Monday. Il'll post it then.
Regards,
Yvan
-
- Posts: 26
- Joined: Fri Feb 27, 2015 10:15 pm
Re: Two-way coupling code_saturne / code_aster
Hello Yvan,
Did you get the test case?
Thank you!
Flávio
Did you get the test case?
Thank you!
Flávio
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Two-way coupling code_saturne / code_aster
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
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 523 times
-
- Posts: 26
- Joined: Fri Feb 27, 2015 10:15 pm
Re: Two-way coupling code_saturne / code_aster
Thank you Yvan!
I'll try to run this case.
Regards!
Flávio
I'll try to run this case.
Regards!
Flávio
-
- Posts: 26
- Joined: Fri Feb 27, 2015 10:15 pm
Re: Two-way coupling code_saturne / code_aster
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!
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!
-
- Posts: 4207
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Two-way coupling code_saturne / code_aster
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
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
-
- Posts: 26
- Joined: Fri Feb 27, 2015 10:15 pm
Re: Two-way coupling code_saturne / code_aster
Hello,
Config.log attached.
Regards!
Flávio
Config.log attached.
Regards!
Flávio
- Attachments
-
- config.log
- (215.43 KiB) Downloaded 432 times