turbine modelling

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: turbine modelling

Post by Yvan Fournier »

No, This error comes later.

You must still have an error in you mesh.

Did you check the available groups using Code_Saturne's mesh checking options ?

Did you try to setup both domains separately before coupling them, as I suggested ?

Do those steps first.
stage75

Re: turbine modelling

Post by stage75 »

Yes the fields are well separated as you had explained! I have two SRC.1 and SRC.2. I replaced in my runcase "d" by [d2, d1]

When I checked my mesh, saturn doesn't detected the errors in the mesh!
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: turbine modelling

Post by Yvan Fournier »

When you checked your mesh, did you visualize the available groups (with ParaView, using the "extract blocks" filter, or with SMESH, visualizing groups) ?

Or more simply, could you run a full calculation (at least 1 time step) on just one of the 2 meshes with no boundary condition selection error ?
stage75

Re: turbine modelling

Post by stage75 »

Hello,

I modified my boundary conditions in "usclim.f90", now Saturne doesn't return the error, I get in the "RESU" (ch.med.1.06261512) and (ch.med.2.06261512) but when I red this files by Salome I get (0!!) (velocity =0, prssure = 0 etc.) for the flui but I have a velocity gradient at the turbine et not the fluid ? Do you have an idea??

So I think the configuration of coupling subroutines "ussatc.f90) are wrong!!! that's why it does nothing i dont have anythings!!
stage75

Re: turbine modelling

Post by stage75 »

Hello,

Yes it works now, thank you very much!! :D

But I want to run my simulation in STEADY regime, I chose "steady" in "unisi1.f90" but my simulation is done by unstadeay regime!

Do you have an idea please!
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

I think as the mesh is rotating it is actually unsteady so cannot be simulated with the steady state solver.

James
stage75

Re: turbine modelling

Post by stage75 »

Okay, thank you James!

This is specific to Code_Saturne I think?
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

Perhaps if you are using the frozen rotor method you can use steady state but I'm not aware of this.

Also if the mesh is moving at each time-step I cannot see how you can use steady state regardless of the code you use?
stage75

Re: turbine modelling

Post by stage75 »

I used a test on another CFD code using the MRF method (Reference moving frame) that I can turn the simulation using steady regime and I thought it was the equivalent to "frozen" in Code_Saturne.

I will do my calculations in unsteady it is not a problem finally.

Thank you to everyone who gave me an idea to achieve this coupling, thank's for all!!
stage75

Re: turbine modelling

Post by stage75 »

Do you know how we can define the rotation velocity?

in the subroutine I have defined just OMEGA-Y = 2pi, but I did not set the velocity?

Thanks
Post Reply