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

Error in interpolating data?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2018, 10:26
Default Error in interpolating data?
  #1
New Member
 
Davide
Join Date: Jun 2018
Posts: 10
Rep Power: 4
Lighto is on a distinguished road
Hello everyone,

I am a new Fluent-user and I have a very simple question (I think).

I have defined some custom field functions such as the laminar and turbulent stresses in a k-w-RANS simulation, using viscosity-lam, viscosity-turb, turb-kinetic-energy, density and the gradients. I saved the single components of the stresses (i.e. 12 color-by per time-step) and a combination of them (also defined as a CFF - called "scalar-stress") on some particles injected at the inlet of my domain. To check if "scalar-stress" was correct, I tried to recombine manually (i.e. with matlab) the stresses using the output files but I obtained a different result comparing it to what Fluent has saved as "scalar-stress".

So basically my conclusion is: combining some variables in Fluent is different than doing it in post-processing, but why?
Is this an interpolation issue?
Lighto is offline   Reply With Quote

Old   October 18, 2018, 12:57
Default
  #2
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 4,119
Rep Power: 50
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
How do you calculate gradients in matlab?
LuckyTran is offline   Reply With Quote

Old   October 18, 2018, 18:21
Default
  #3
New Member
 
Davide
Join Date: Jun 2018
Posts: 10
Rep Power: 4
Lighto is on a distinguished road
I do not calculate gradients in matlab. I save directly \sigma_{xx},...,\tau_{zx} both for laminar and turbulent. Then sum them and do the same calculations I do in Fluent.
Lighto is offline   Reply With Quote

Reply

Tags
custom field function, fluent, fluent interpolation, particles, rans

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with exporting data to Tecplot v.jab OpenFOAM Post-Processing 2 January 11, 2017 08:56
Error when reading data file. WJXu FLUENT 7 September 1, 2015 19:34
[OpenFOAM] saving data in paraview aylalisa ParaView 3 May 31, 2014 11:38
[General] Warping Cells by Vectors? ronwelty ParaView 10 April 29, 2014 05:52
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


All times are GMT -4. The time now is 15:21.