CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Visualization & Post-Processing

Calculating acceleration along the streamwise direction (dU/ds) in CFD post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2024, 08:32
Default Calculating acceleration along the streamwise direction (dU/ds) in CFD post
  #1
New Member
 
Kamyar
Join Date: Dec 2018
Posts: 5
Rep Power: 7
kam96 is on a distinguished road
my case is modeling flow around an airfoil using the Gamma-Retheta model
I'm trying to integrate these equations into the CFD post as expressions:

U=(u^2+v^2+w^2)^0.5

dU/dx=0.5((u^2+v^2+w^2)^-0.5)*(2u(du/dx)+2v(dv/dx)+2w(dw/dx))
dU/dy=0.5((u^2+v^2+w^2)^-0.5)*(2u(du/dy)+2v(dv/dy)+2w(dw/dy))
dU/dx=0.5((u^2+v^2+w^2)^-0.5)*(2u(du/dz)+2v(dv/dz)+2w(dw/dz))

but the problem arises due to the zero velocity near the airfoil, because of this the " DIVIDE BY ZERO" error is showing, so the expression can't be evaluated globally in the flow field.

any tips or tricks would be most helpful.

these are the expressions I wrote in CFD post:

Dutodx=0.5*(((Velocity u^2)+(Velocity v^2)+(Velocity w^2))^-0.5)*((2*Velocity u*Velocity u.Gradient X)+(2*Velocity v*Velocity v.Gradient X)+(2*Velocity w*Velocity w.Gradient X))

Dutody=0.5*(((Velocity u^2)+(Velocity v^2)+(Velocity w^2))^-0.5)*((2*Velocity u*Velocity u.Gradient Y)+(2*Velocity v*Velocity v.Gradient Y)+(2*Velocity w*Velocity w.Gradient Y))

Dutodz=0.5*(((Velocity u^2)+(Velocity v^2)+(Velocity w^2))^-0.5)*((2*Velocity u*Velocity u.Gradient Z)+(2*Velocity v*Velocity v.Gradient Z)+(2*Velocity w*Velocity w.Gradient Z))

Dutods=((Velocity u/Velocity)*dutodx)+((Velocity v/Velocity)*dutody)+((Velocity w/Velocity)*dutodz)
kam96 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
CFD POST is taking a lot of time for loading the results from FLUENT murali666 FLUENT 3 November 15, 2022 09:51
mutisize particle data is not transfering to CFD post krish.rathore FLUENT 0 July 20, 2021 02:05
calculating jet width using CFD post raunakjung Visualization & Post-Processing 0 April 2, 2017 06:08
how to find streamwise and normal vortices in cfd post deepak.ar CFX 2 May 8, 2016 00:55
calculating output parameter in cfd post markus67 CFX 3 August 26, 2015 09:28


All times are GMT -4. The time now is 14:38.