Page 5 of 13

Re: turbine modelling

Posted: Mon Jun 25, 2012 4:19 pm
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.

Re: turbine modelling

Posted: Mon Jun 25, 2012 4:38 pm
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!

Re: turbine modelling

Posted: Mon Jun 25, 2012 9:56 pm
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 ?

Re: turbine modelling

Posted: Tue Jun 26, 2012 3:10 pm
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!!

Re: turbine modelling

Posted: Wed Jun 27, 2012 1:36 pm
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!

Re: turbine modelling

Posted: Wed Jun 27, 2012 3:10 pm
by JamesMcNaughton
I think as the mesh is rotating it is actually unsteady so cannot be simulated with the steady state solver.

James

Re: turbine modelling

Posted: Wed Jun 27, 2012 3:15 pm
by stage75
Okay, thank you James!

This is specific to Code_Saturne I think?

Re: turbine modelling

Posted: Wed Jun 27, 2012 4:35 pm
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?

Re: turbine modelling

Posted: Thu Jun 28, 2012 9:29 am
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!!

Re: turbine modelling

Posted: Thu Jun 28, 2012 8:30 pm
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