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

Define run fails

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2012, 09:35
Default Define run fails
  #1
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
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
Attached Images
File Type: jpg Capture1.jpg (25.9 KB, 9 views)
Thomashoffmann is offline   Reply With Quote

Old   November 20, 2012, 10:11
Default
  #2
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
Looking at your error, it is trying to find the reference temperature for your material and cannot. Have you defined this in Pre?
cdegroot is offline   Reply With Quote

Old   November 20, 2012, 11:09
Default
  #3
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
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?
Thomashoffmann is offline   Reply With Quote

Old   November 20, 2012, 11:19
Default
  #4
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
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.
cdegroot is offline   Reply With Quote

Old   November 20, 2012, 12:02
Default
  #5
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
allright. Thanks - I'll read through it
Thomashoffmann is offline   Reply With Quote

Old   November 20, 2012, 15:11
Default
  #6
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
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?
Attached Images
File Type: png Capture4.PNG (11.6 KB, 5 views)
File Type: jpg Capture5.jpg (38.8 KB, 7 views)
File Type: png Capture7.PNG (29.6 KB, 3 views)
File Type: jpg Capture8.jpg (48.2 KB, 4 views)
Thomashoffmann is offline   Reply With Quote

Old   November 20, 2012, 17:09
Default
  #7
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
It seems to be complaining when allocating space for variables. Did you add any additional variables?
cdegroot is offline   Reply With Quote

Old   November 21, 2012, 05:04
Default
  #8
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
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?
Thomashoffmann is offline   Reply With Quote

Old   November 21, 2012, 10:18
Default
  #9
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Did you set initial values for the temperature field?
brunoc is offline   Reply With Quote

Old   November 21, 2012, 10:29
Default
  #10
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
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?
Thomashoffmann is offline   Reply With Quote

Old   November 21, 2012, 11:11
Default
  #11
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
At the initialization tab.
brunoc is offline   Reply With Quote

Old   November 21, 2012, 11:17
Default
  #12
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
but there is no temperature initialization properties...? see attached
Attached Images
File Type: png Capture6.PNG (15.7 KB, 4 views)
Thomashoffmann is offline   Reply With Quote

Old   November 21, 2012, 11:32
Default
  #13
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
Have you turned on the energy equation?
cdegroot is offline   Reply With Quote

Old   November 21, 2012, 11:33
Default
  #14
Member
 
Thomas Hoffmann
Join Date: Oct 2012
Posts: 67
Rep Power: 14
Thomashoffmann is on a distinguished road
probably not... Where do I do That? (I'm new in cfx, if you didn't notice)
Thomashoffmann is offline   Reply With Quote

Old   November 21, 2012, 11:36
Default
  #15
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
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.
cdegroot is offline   Reply With Quote

Old   November 21, 2012, 11:41
Default
  #16
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Quote:
Originally Posted by Thomashoffmann View Post
probably not... Where do I do That? (I'm new in cfx, if you didn't notice)
You might want to do the tutorials before solving your real problem. You can learn lots of things from them, including some best practices. Also, you might be missing more stuff to your model that could potentially affect the final results.

Cheers
brunoc is offline   Reply With Quote

Old   November 21, 2012, 12:18
Default
  #17
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
cdegroot is on a distinguished road
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.
cdegroot is offline   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
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


All times are GMT -4. The time now is 09:33.