CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Drafttube Simulation Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2002, 05:28
Default Drafttube Simulation Problem
  #1
Begineer
Guest
 
Posts: n/a
Hi,

I'm working on the drafttube simulation for Francis turbine. Can anyone help me with the following problems? Thanks for your advice.

1. I am applying the logarithmic velocity profile as the inlet boundary condition. Since the formulas (velocity) for viscous sublayer and log region are different, I may have to use the if.then.else algorithm. Can anyone advise me on how to create a user subroutine for this problem? Is there a simpler way to do this?

2. I have merged the surfaces before generating the mesh to get rid of the small angles. However, the warning messages still appear while creating the suface mesh. I have used the merged surface to generate the surface mesh. Can anyone tell if the message refer to the original surface or the merged surface? Can I ignore this message? Any solution I can apply without redrawing my model again?

3. How can I check the no of mesh elements in my model? Can I limit the number to a certain amount?
  Reply With Quote

Old   October 7, 2002, 16:20
Default Re: Drafttube Simulation Problem
  #2
Begineer
Guest
 
Posts: n/a
Can I create an expression with If..then..else command in the expression editor? If not, how can I do that?
  Reply With Quote

Old   October 8, 2002, 00:44
Default Re: Drafttube Simulation Problem
  #3
Mike
Guest
 
Posts: n/a
Hi, 1. I think you'll need to use a User Subroutine. I'd suggest using the one provided for the Flow Through a Butterfly Value Tutorial as a template - maybe complete this tutorial if you want. 2. If you manually create the mesh in CFX-Build through the mesh forms then the message will refer to the original, not the merged mesh. If you can write out a Definition file Ok then that should be fine. You might want to check the mesh quailty by loading the Def file into CFX-Post before solving - there are some mesh quality checking tools in Post. When you say you have merged the surfaces, you shouldn't in general merge surfaces that lie in different planes since you will loose accurate geometry representation. 3. You should also be able to get the mesh size in Post. It is also given at the start of the OUT file when you start the solver. You can't predict the exact size in advance, so getting a feel for reducing/increasing the mesh length scale is the best way. Hope this helps, Mike
  Reply With Quote

Old   October 8, 2002, 04:07
Default Re: Drafttube Simulation Problem
  #4
Begineer
Guest
 
Posts: n/a
Thanks for your valuable inputs, Mike. There's no need to use IF..then..else algorithm in Tutorial problem as the power law velocity profile is used in this case. However, the Reynolds no in my problem is around 5*10^7 (Q=150m^3/s and R=2.033m), which may be too large to get an accurate solution using power law. That's the reason I'm thinking of using log profile. I didn't get from this tutorial of how the build-in Fortran program can be prepared (e.g. Pipeinlet_valve.F in tutorial 9).

On the way, if you think the power law can still be used, what value of n do you think I should put in? I can't find a reference to determine n at Re = 5*10^7.

The followings are the boundary conditions (velocity) that I'm hoping to use:

Viscous Sub layer: If Y+<12, then U+=Y+ Log region: else U+=2.5ln(Y+) + 5.2

Does anyone know how to write this in user-subroutine (I mean how the file like Pipeinlet_valve.F is written)? Is there any CFX5 statement/format that I have to put into the fortran program? How's that look like?

Again...Thanks for your time and comments.
  Reply With Quote

Old   October 8, 2002, 12:31
Default Re: Drafttube Simulation Problem
  #5
Jon
Guest
 
Posts: n/a
You can use the step(x) function as an elseif function.

i.e var = f1(whatever)*step(g1)+f2(whatever)*step(g2)

  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with torque output from a turbine simulation. pa-dundas FLUENT 5 July 17, 2022 06:27
Transient simulation (Problem with massflow and Pressure) ChristianF CFX 4 August 22, 2011 22:42
about valve closing problem during ANSYS FSI simulation ivy CFX 4 June 8, 2011 22:01
Problem restarting a simulation from an intermediate point. sergiorbrett CFX 2 April 21, 2010 18:11
Mass conservation problem in mixing tank multiphase simulation rockewan FLUENT 0 April 6, 2010 13:34


All times are GMT -4. The time now is 18:52.