turbine modelling

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
stage75

Re: turbine modelling

Post by stage75 »

Hello,

I feel that the coupling is not taken into account! NO?

IN subtoutines of coupling "ussatc.f90", I put in ussatc" of SRC.1 menu

Code: Select all

if (ii .eq. 1) then

    numsat = 2

    call defsat(numsat, namsat, 'all[]', ' ', ' ', '[Face_42, Face_50],  iwarns)
Face_42 to Face_50 are the faces of my turbine

AND in SRC.2 I put,

Code: Select all

do ii = 1, nbcsat

  if (ii .eq. 1) then

    numsat = 1

    call defsat(numsat, namsat, 'all[]', ' ', ' ', '[Face_53, Face_60]', iwarns)
Face_53 to Face_60 are faces of my fluid area

Is this right please?
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

It looks correct to what I've done previously. If you have not defined BCs to those faces elsewhere and the calculation is running then it must be else you would have an error. Also note numsat is ignored if you couple saturne with itself but you should try setting it to -1 as the subroutine suggests.

Why do you think coupling isn't taken into account?

Do you have images of the velocity and pressure fields?
stage75

Re: turbine modelling

Post by stage75 »

Hello James,

Thank's for your answer,

I think the coupling isn't taken into acount because I don't obtiened the recirculation area (vortex). If you look at the velocity vectors, there is no vortex near the blades or baffles (the work flow is like there is no obstacle)!!
Attachments
image11.png
exo10.png
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

Just because the flow physics are not what you expect does not mean the coupling has not worked.

I think you will need to set icorio=0 to observe the phenomena you want.

(Do you have images of the velocity and pressure fields? This will help determine if the coupling is working.)

Thanks

James
stage75

Re: turbine modelling

Post by stage75 »

But logically when there is an obstacle, we obtain a perturbation of the flow which is not the case here. THe is why I think the coupling is not working. I try the cas of icorio = 0 now and I hold you inform.

I will show the pressure after the calculation with icorio = 0.
stage75

Re: turbine modelling

Post by stage75 »

I show here velocity and pressure fields when icorio = 1( if i put icorio =0 i obteined error!)
Attachments
velocitycorio1.png
pressurecorio1.png
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

The mesh is quite coarse. However, there might be an issue with the way you have meshed it (or I have misunderstood the flow).

Is the dark blue region meant to be solid even though it is meshed? Also where is the interface between the two regions?

I expected that the dark blue was just an outer wall and so you would only mesh the region inside this?
stage75

Re: turbine modelling

Post by stage75 »

Thank's James for your response,

I want to modelling a fluid in a tank and the fluid is rotating around a turbine (the basin is immobile "what I have with a dark blue in the figure above").

This figure show my geometry (in blue couleur is my level of fluid "water" in the tank, in yellow color represente the tank (immobile), and in black its my turbine ).

the whole geometry is meshed! so I have two meshes, the first one represente the fluid (in blue color) and the second mesh represente (turbine and tank the both are immobile but the fluid are in rotation), that's why I did the couplling between two meshes (after the advise of yvan, guillaume, you and others)!

I hope that I was clear, if you have further questions do not hesitate

Thank's
Attachments
Capture.png
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: turbine modelling

Post by Yvan Fournier »

Hello,

In case you're still stuck, I can try to take a look at this, but probably not before one week. In any case, if you can post your setup (xml file and/or user subroutines) and meshes (if they are not too big, or if they are generated under SALOME, a dump of the script used to generate them, so as to limit the data size), we can take a look. Posting your "listing" files with a few iterations (no more than 5) could also help us look at your data without running your case (takes less time, so you have better chances we can help you without waiting too long). The "listpre" files are also important.

But before that, chances are that if the coupling does not occur correctly, a minor detail is incorrect (probably related either to the rotation, or to the coupling itself), so I would recommend double-checking your user parameters, piece by piece (especially those directly related to rotation or coupling)

The rotation velocity might be incorrect, for example (did you try running a rotor alone) ?

Best regards,

Yvan
stage75

Re: turbine modelling

Post by stage75 »

Hello,

THank you Yvan,

I feel that the coupling is not work (maybe because I do not understand the principle of coupling!).

In the simulation result I get good rotation of fluid but there is no effect of the impeller or baffles. So the fluid turns without considering the impeller or baffles (sounds like they do not exist).

I will try to put the files of the mesh and subroutines in the day. Thank you
Post Reply