|
[Sponsors] |
November 20, 2012, 09:35 |
Define run fails
|
#1 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
hi all.
I have set up my simulation in CFX-Pre. But when I want to define run, it gives me an error and exits with return code 1. I'm simulating a non Newtonian material and get the error. I have tried to switch the material to water and then the solver runs fine. Does anybody know what to do? Thanks |
|
November 20, 2012, 10:11 |
|
#2 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Looking at your error, it is trying to find the reference temperature for your material and cannot. Have you defined this in Pre?
|
|
November 20, 2012, 11:09 |
|
#3 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
ok. No I haven't done that. But what does it mean? My fluid is -5.5degC at the inlet and might stay within 0.5degC through my simulation. What should the reference temperature then be?
|
|
November 20, 2012, 11:19 |
|
#4 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
The solver needs a reference temperature in order to define a reference enthalpy. See the theory guide, section 1.1.3. (Variable Definitions). The reference value shouldn't affect your solution as long as it is within range of what you expect to see in your simulation.
|
|
November 20, 2012, 12:02 |
|
#5 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
allright. Thanks - I'll read through it
|
|
November 20, 2012, 15:11 |
|
#6 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
I have set up the reference values in my material now, And I still can't run my solver. See attached pictures for my material definition and my details of error.
Do you see any clear mistakes I have made? |
|
November 20, 2012, 17:09 |
|
#7 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
It seems to be complaining when allocating space for variables. Did you add any additional variables?
|
|
November 21, 2012, 05:04 |
|
#8 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
yes I have added a couple of things.
I tried changing my material to water and the solver did not complaint. Then I changed my parameters one by one until I found out that my thermal expression is leading to the error. I used k=-0.000837 [W m^-1 K^-3]*T^2-0.030641 [W m^-1 K^-2]*T+0.147212 [W m^-1 K^-1] Maybe I have to define that T is the temperature? Do you know how? |
|
November 21, 2012, 10:18 |
|
#9 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Did you set initial values for the temperature field?
|
|
November 21, 2012, 10:29 |
|
#10 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
hmm, I'm not sure. I have defined the inlet temperature (that's not what you ment, right?). I did this in my default domain and then fluid model. There is also an initialization tap, which I haven't touched...
Where do I set it up? |
|
November 21, 2012, 11:11 |
|
#11 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
At the initialization tab.
|
|
November 21, 2012, 11:17 |
|
#12 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
but there is no temperature initialization properties...? see attached
|
|
November 21, 2012, 11:32 |
|
#13 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Have you turned on the energy equation?
|
|
November 21, 2012, 11:33 |
|
#14 |
Member
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14 |
probably not... Where do I do That? (I'm new in cfx, if you didn't notice)
|
|
November 21, 2012, 11:36 |
|
#15 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Double click on your fluid domain to bring up its details, then go to the "Fluid Models" tab. Under "Heat Transfer" choose which energy equation you want to solve. Probably thermal energy is fine for your case.
|
|
November 21, 2012, 11:41 |
|
#16 | |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Quote:
Cheers |
||
November 21, 2012, 12:18 |
|
#17 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Bruno makes a good point. Go ahead and continue to play with this model if you want, but if you are looking to use the results it would certainly be a good idea to go through some CFX tutorials to make sure you aren't missing something fundamental in your model.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Case running in serial, but Parallel run gives error | atmcfd | OpenFOAM Running, Solving & CFD | 18 | March 26, 2016 13:40 |
udf explaination | Ijaz | Fluent UDF and Scheme Programming | 4 | May 8, 2012 05:24 |
UDF problem | libia87 | Fluent UDF and Scheme Programming | 1 | May 4, 2012 22:49 |
Scalar problem! | lig | FLUENT | 0 | May 5, 2010 16:16 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |