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

BATCH PROCCESSING

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2006, 10:03
Default BATCH PROCCESSING
  #1
Roberto Salvador
Guest
 
Posts: n/a
I have made pressure loss calculations with ansys cfx. I have programmed the basic darcy weisbach equation in order to get such losses. I have validated it comparing the results of the simulation with calculations by hand using the same model. The proccess is as follows:

1.- I have done a model of a straight tube. 2.- I have given as constant value for the problem the friction factor in darcy-weisbach equation. This factor can be obtained by use of Moody's chart, but I want to use the cfx capabilities in order it can calculate it directly.

so I have an equation that gives the same result than Moody's chart. This is the colebrook-white equation. This equation solves the friction factor as a funtion of itself, so if you want to solve it you must solve it by iteration.

This is the first question:

Is there anybody who knows how can i program an iteration in ansys cfx?

colebrook-white equation is as follows:

1/sqrt(lambda)=-2*log(k/(3.7*D)+2.51/(Re*sqrt(lambda)))

The second problem is the following:

I have given initial conditions to the model. I have specified a determined flow rate, but it's constant. So if i want to obtain pressure losses for several flow rates I should run the same simulation several times varying the flow rates in ordel to get such losses.

The question is:

Is there any way to do this in such a way that I can specifiy a flow rate range and ansys can execute the simulation in the flow range specified?

How could I program a bath proccess in ansys cfx?

Thanks in advance

  Reply With Quote

Old   July 14, 2006, 02:19
Default Re: BATCH PROCCESSING
  #2
Patrick
Guest
 
Posts: n/a
Batch mode: CFX Community, Technical Tips: Running solver jobs in batch and job scheduling 27 October 2005

  Reply With Quote

Old   July 14, 2006, 11:04
Default Re: BATCH PROCCESSING
  #3
Dr. Bian
Guest
 
Posts: n/a
More commands can be viewed from the command line (DOS window) started through CFX launcher by running:

cfx5solve -help

  Reply With Quote

Old   July 14, 2006, 13:23
Default Re: BATCH PROCCESSING
  #4
Robin
Guest
 
Posts: n/a
Hi Roberto,

I'm not sure I understand what you are trying to do. Are you calculating the friction factor to apply at a boundary condition?

To calculate the friction factor directly, use the Swamee-Jain equation instead http://en.wikipedia.org/wiki/Swamee-Jain_equation.

Regards, Robin
  Reply With Quote

Old   July 15, 2006, 13:22
Default Re: BATCH PROCCESSING
  #5
Roberto Salvador
Guest
 
Posts: n/a
Hi, Robin. I have seen the Swamee-Jain ecuation, and I have validated it by comparing it with the colebrook white ecuation. I have found that it gives results within 0.0001 accuracy so this time you have helped me to solve the friction factor without the use of iterative proccesses.

So now I need to investigate the advice given to me respect to batch proccessing.
  Reply With Quote

Old   July 15, 2006, 13:30
Default Re: BATCH PROCCESSING
  #6
Roberto Salvador
Guest
 
Posts: n/a
Hi Patrick, where should I find the document that you are refering to?
  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
Run Multiple Files in Batch nickninevah STAR-CCM+ 6 October 12, 2017 07:17
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 09:00
[Question]About batch job fluboy FLUENT 2 August 12, 2009 12:10
Windows XP Batch file help needed DL123 Main CFD Forum 2 July 3, 2009 09:53
Running Job in Batch mode (EFD) Nick Sessions FloEFD, FloWorks & FloTHERM 0 April 16, 2008 17:44


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