CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Problems using a formula to determine inlet velocity

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2013, 17:25
Default Problems using a formula to determine inlet velocity
  #1
New Member
 
Ash
Join Date: Oct 2013
Posts: 3
Rep Power: 3
Ashh is on a distinguished road
Hi all, first post!

I'm modelling a square duct with a 90 degree bend. With a uniform inlet velocity of 10m/s everything solves fine.

However when I introduce the condition of the inlet velocity being based around a formula (2*Ub*(1-(x^2+y^2)/(0.5*D)^2), with Ub and D defined in expressions, the solver crashes with "Return code 1" & "Non-zero error code 2".

The inlet is centered around the origin with the z axis pointing into the inlet.

Any ideas as to what is wrong?

Cheers
Ash
Ashh is offline   Reply With Quote

Old   October 7, 2013, 00:08
Default
  #2
Member
 
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 54
Rep Power: 3
AshwaniAssam is on a distinguished road
Which solver are you using? And the OS. It can be problem of compiler. Like we use gcc, g++ compiler and it crashes mostly with segmentation violation.
AshwaniAssam is offline   Reply With Quote

Old   October 7, 2013, 20:37
Default
  #3
New Member
 
Ash
Join Date: Oct 2013
Posts: 3
Rep Power: 3
Ashh is on a distinguished road
Thanks for the reply AshwaniAssam.

I was using ANSYS CFX. The problem turned out to be something glitchy in the geometry as when I loaded a Solidworks IGES version of the geometry into the analysis it worked.

I'm still unsure why the ANSYS geometry solved with a uniform inlet velocity and not with a profiled velocity but it's working now.
Ashh is offline   Reply With Quote

Old   October 7, 2013, 23:23
Default Reply
  #4
Member
 
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 54
Rep Power: 3
AshwaniAssam is on a distinguished road
You can see the following thread. In general these error codes will have some information somewhere on net.

The ANSYS CFX solver exited with return code 1
AshwaniAssam is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Steady pipe flow mean velocity higher than inlet velocity anita OpenFOAM Running, Solving & CFD 7 September 25, 2012 05:35
time varying inlet velocity Zhe Liu CFX 0 July 31, 2008 06:56
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
UDF problem : inlet velocity in cyl. coord. system Jongdae Kim FLUENT 0 June 15, 2004 11:21
UDF paraboloid velocity inlet Ronak Shah FLUENT 0 June 4, 2003 09:44


All times are GMT -4. The time now is 05:16.