How to use the Turbomachinery module?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

How to use the Turbomachinery module?

Post by binger »

hello,

I have tried a lot to use the module.but I failed. so can you give me any more details about how to use the module? many thanks.


thanks you,
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: How to use the Turbomachinery module?

Post by Yvan Fournier »

Hello,

Could you specify what you tried and failed ? I don't think there's a tutorial yet for this feature, but there are quite a few threads on this forum which should help.

Are you using the GUI ? It should help guide you. For rotor-stator joinings in transient mode, define the interface faces selection criteria in the turbomachinery section, not in the mesh preprocessing section. Also, avoid combining this with periodicity with interfaces adjacent to the rotor/stator interface.

Regards,

Yvan
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

Re: How to use the Turbomachinery module?

Post by binger »

Yvan Fournier wrote:Hello,

Could you specify what you tried and failed ? I don't think there's a tutorial yet for this feature, but there are quite a few threads on this forum which should help.

Are you using the GUI ? It should help guide you. For rotor-stator joinings in transient mode, define the interface faces selection criteria in the turbomachinery section, not in the mesh preprocessing section. Also, avoid combining this with periodicity with interfaces adjacent to the rotor/stator interface.

Regards,

Yvan
hello Yvan,
Thanks for your replying.
I use the GUI.The first step in the case,I don't know how to define the interfaces.I saw the example ".xml" that you uploaded in this forum,but I can't find the "med",so I don't know how to build a model,and how to define the interface.so please help me .
Regards
Last edited by binger on Wed Sep 30, 2015 6:43 am, edited 1 time in total.
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: How to use the Turbomachinery module?

Post by Yvan Fournier »

Hello,

You first need to build you own mesh, defining volume groups for the rotor and stator part (so you can define those in the GUI), and one or more groups for boundary faces at the rotor/stator intersection (also used for selection criteria in the GUI).

The rotor and stator parts of the mesh must be initially disjoint (they can be in the same or separate files), at least when using the "transient" mode.

The mesh regularity is important near the rotor/stator interface, as it impacts mesh joining robustness.

Regards,

Yvan
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

Re: How to use the Turbomachinery module?

Post by binger »

hello Yvan,

thanks for you reply!

regards

binger
Last edited by binger on Wed Sep 30, 2015 12:20 pm, edited 1 time in total.
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

Re: How to use the Turbomachinery module?

Post by binger »

Yvan Fournier wrote:Hello,

You first need to build you own mesh, defining volume groups for the rotor and stator part (so you can define those in the GUI), and one or more groups for boundary faces at the rotor/stator intersection (also used for selection criteria in the GUI).

The rotor and stator parts of the mesh must be initially disjoint (they can be in the same or separate files), at least when using the "transient" mode.

The mesh regularity is important near the rotor/stator interface, as it impacts mesh joining robustness.

Regards,

Yvan
hello Yvan,
thanks for your reply,
when i run the case,using "full transient rotar",the erros occers:
cs_turbomachinery.c:923: Fatal error.

Error in turbomachinery mesh update:
Number of boundary faces has changed from 8536 to 10063.
There are probably unjoined faces, due to an insufficiently regular mesh;
adjusting mesh joining parameters might help.


Call stack:
1: 0x7f72c233d682 <cs_turbomachinery_update_mesh+0x832> (libsaturne.so.0)
2: 0x7f72c237ec37 <navstv_+0x3947> (libsaturne.so.0)
3: 0x7f72c23b0c83 <tridim_+0x49c3> (libsaturne.so.0)
4: 0x7f72c2289a78 <caltri_+0x30a8> (libsaturne.so.0)
5: 0x7f72c2271815 <cs_run+0x3e5> (libsaturne.so.0)
6: 0x7f72c2271342 <main+0x112> (libsaturne.so.0)
7: 0x7f72c1e7176d <__libc_start_main+0xed> (libc.so.6)
8: 0x400659 <> (cs_solver)
End of stack



how can i do ???
regards


binger
Attachments
listing.tar.gz
(7.83 KiB) Downloaded 286 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: How to use the Turbomachinery module?

Post by Yvan Fournier »

Hello,

Could you post a view of your geometry, showing the rotor and stator parts ?

Regards,

Yvan
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

Re: How to use the Turbomachinery module?

Post by binger »

hello,Yvan
this is my "med". it is a simple case,i just want to know how it works.
and the erorrs is that:
cs_turbomachinery.c:923: Fatal error.

Error in turbomachinery mesh update:
Number of boundary faces has changed from 5400 to 6283.
There are probably unjoined faces, due to an insufficiently regular mesh;
adjusting mesh joining parameters might help.


Call stack:
1: 0x7fe748367682 <cs_turbomachinery_update_mesh+0x832> (libsaturne.so.0)
2: 0x7fe7483a8c37 <navstv_+0x3947> (libsaturne.so.0)
3: 0x7fe7483dac83 <tridim_+0x49c3> (libsaturne.so.0)
4: 0x7fe7482b3a78 <caltri_+0x30a8> (libsaturne.so.0)
5: 0x7fe74829b815 <cs_run+0x3e5> (libsaturne.so.0)
6: 0x7fe74829b342 <main+0x112> (libsaturne.so.0)
7: 0x7fe747e9b76d <__libc_start_main+0xed> (libc.so.6)
8: 0x400659 <> (cs_solver)
End of stack


regards


binger
Attachments
listing.tar.gz
(7.23 KiB) Downloaded 284 times
MESH.tar.gz
(4.86 MiB) Downloaded 311 times
Last edited by binger on Thu Oct 01, 2015 9:24 am, edited 2 times in total.
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

Re: How to use the Turbomachinery module?

Post by binger »

hello,Yvan

this is the "hdf"
Attachments
case.xml.tar.gz
(2.03 KiB) Downloaded 323 times
Last edited by binger on Thu Oct 01, 2015 9:18 am, edited 1 time in total.
binger
Posts: 14
Joined: Mon Aug 31, 2015 8:09 am

Re: How to use the Turbomachinery module?

Post by binger »

Yvan Fournier wrote:Hello,

Could you post a view of your geometry, showing the rotor and stator parts ?

Regards,

Yvan
hello Yvan,
thanks for your reply.Please help me. i don't know how to achive it.
i want to know the reason that lead to the erors.so i can check it myself.
you can download the "med"and "xml"in the previos post.
regards
binger
Post Reply