Search found 72 matches
- Fri Oct 19, 2012 11:36 am
- Forum: code_saturne usage
- Topic: Mesh rigid body motion
- Replies: 14
- Views: 6529
Re: Mesh rigid body motion
Hi Luca, This is something I have observed also - although I haven't an exact value I notice that calculations are much slower using ALE. I noticed the majority of this added time was coming in the gradient calculation (gradrc / gradmc) when the cell centre of gravity is recalculated. If ale is on (...
- Thu Oct 18, 2012 4:44 pm
- Forum: code_saturne usage
- Topic: Mesh rigid body motion
- Replies: 14
- Views: 6529
Re: Mesh rigid body motion
Hi Luca, I've only done very basic movement with the ALE so someone may come with a more informative answer for you but a few pointers to start you off.. 1) You can displace nodes as you like using the example in usalcl as a starting point. (If you're not moving the nodes of a boundary face using th...
- Thu Oct 11, 2012 9:22 am
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
The examples are (I think) for a pipe flow based on a hydraulic diameter (keendb subroutine I think it is called), the second example uses the turbulence intensity (keenin). You can try setting your turbulence using them if you like but they are unlikely to give you the correct inlet turbulence for ...
- Thu Oct 11, 2012 7:52 am
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
Yes like that, have a look at the examples in usclim it shows you how to define them there.
- Wed Oct 10, 2012 5:40 pm
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
Sorry yes that is what I had meant... you need to set the other velocity variables (iu, iv, iw) and turbulent quantities (for your case ik, iep).
- Wed Oct 10, 2012 10:52 am
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
Have you set all the variables at the inlet?
- Wed Oct 10, 2012 10:40 am
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
You need to set the other velocity values at the inlet. And if running turbulence need to set those quantities too.
- Wed Oct 10, 2012 8:28 am
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
What is the error?
- Tue Oct 09, 2012 11:18 am
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
This will give the y-component of velocity the value V = 2z^3:
From that you will be able to figure out the rest
Code: Select all
rcodcl(ifac, iv(iphas), 1) = 2.d0 * cdgfbo(3,ifac) **3.d0
- Tue Oct 02, 2012 4:01 pm
- Forum: code_saturne usage
- Topic: Imposed velocity profile
- Replies: 21
- Views: 10078
Re: Imposed velocity profile
The best way is to define a function that represents the velocity profile. Curve fitting can be done to most profiles that I have tried so I would recommend this route. Assuming it's complicated and 3D then you might need to read in the data from your text file. As saturne is unstructured there's no...