|
[Sponsors] |
Problems using a formula to determine inlet velocity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2013, 17:25 |
Problems using a formula to determine inlet velocity
|
#1 |
New Member
Ash
Join Date: Oct 2013
Posts: 3
Rep Power: 12 |
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 |
|
October 7, 2013, 00:08 |
|
#2 |
Senior Member
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 12 |
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.
|
|
October 7, 2013, 20:37 |
|
#3 |
New Member
Ash
Join Date: Oct 2013
Posts: 3
Rep Power: 12 |
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. |
|
October 7, 2013, 23:23 |
Reply
|
#4 |
Senior Member
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 12 |
You can see the following thread. In general these error codes will have some information somewhere on net.
http://www.cfd-online.com/Forums/cfx...-code-1-a.html |
|
|
|
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 |