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

CFD Post not calculating gradients

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2020, 11:29
Default CFD Post not calculating gradients
  #1
New Member
 
Nithin
Join Date: Sep 2019
Posts: 4
Rep Power: 6
nithinnm123 is on a distinguished road
Hi,
I am trying to calculate the gradient of a variable which was defined by an expression. But the value returned is zero across the whole domain.

Here is the expression of the variable:
-6.73979*H2.Mass Fraction-9.76535*H.Mass Fraction-0.84106*O2.Mass Fraction-11.93170*O.Mass Fraction+2.57306*H2o.Mass Fraction-0.40098*Oh.Mass Fraction+0.11357*Ho2.Mass Fraction+24.21178*No.Mass Fraction

Thank You
nithinnm123 is offline   Reply With Quote

Old   January 30, 2020, 14:57
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
There are several ways to figure out the problem,

1 - Can you compute the gradient of H2.Mass Fraction?
2 - Does it make sense? i.e. is it what you expect?
3 - Loop over the next term in your original formula and see when it fails.
Opaque is offline   Reply With Quote

Old   January 31, 2020, 03:26
Default
  #3
New Member
 
Nithin
Join Date: Sep 2019
Posts: 4
Rep Power: 6
nithinnm123 is on a distinguished road
I don't know why Post can't calculate the gradient. I defined the variable in fluent as a custom field function and then exported the data and used Post to calculate the gradient. This time it worked.
nithinnm123 is offline   Reply With Quote

Reply

Tags
cfdpost, gradient


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
Post-processing star ccm+ results in Ansys CFD Post sidharath STAR-CCM+ 4 April 10, 2017 11:49
calculating jet width using CFD post raunakjung Visualization & Post-Processing 0 April 2, 2017 06:08
CFD Design...The CFD Future John C. Chien Main CFD Forum 20 November 19, 2015 23:40
calculating output parameter in cfd post markus67 CFX 3 August 26, 2015 09:28
CFD Online Celebrates 20 Years Online jola Site News & Announcements 22 January 31, 2015 00:30


All times are GMT -4. The time now is 22:10.