CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Help needed to resolve a CFD differential equation

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By sbaffini
  • 1 Post By sbaffini
  • 1 Post By Tibo99

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2021, 14:45
Default Help needed to resolve a CFD differential equation
  #1
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
Hi everyone,

I wondering if it's possible to resolve the following differential equation for 'k'? If so, could someone guide me through the process of resolving it?

Thank you very much!

Best Regards
Attached Images
File Type: png CFD_k.png (5.3 KB, 29 views)
Tibo99 is offline   Reply With Quote

Old   June 9, 2021, 05:55
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Do you mean analytically? I doubt it, as it is non-linear, but to be sure you need someone who is into ODE and math more than me (i.e., there might be a very simple solution method I don't know). Nonetheless, I would probably put it down more simply as follows:

x^2 \frac{d^2y}{dx^2} +x\frac{dy}{dx} = ay^2 - b

where y = k, x = z + z_0, a = \sigma_k \left(\frac{u^*}{\kappa}\right)^2 and b = C_{\mu} \frac{\sigma_k}{\left(u^* \kappa\right)^2}

From here on you can maybe seek for some transofrmation that will change it in a linear equation, like, say, y=1/f^p. Still, you probably need to first let b, somehow, disappear, in order for such trick to work (maybe including it in the transformation itself).
aero_head likes this.

Last edited by sbaffini; June 9, 2021 at 07:05.
sbaffini is offline   Reply With Quote

Old   June 9, 2021, 06:16
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Maybe try with the following substitution:

y = \frac{\sqrt{b}+\frac{1}{f}}{\sqrt{a}}

so that:

ay^2 - b = \frac{1}{f^2} + 2\frac{\sqrt{b}}{f}

then apply the chain rule on the left hand side and see what happens. If you are lucky you will be left with something linear and integrable.

EDIT: nope, b is a bitch and won't let you have a linear form in this case
aero_head likes this.
sbaffini is offline   Reply With Quote

Old   June 9, 2021, 08:50
Default
  #4
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
Thank you very much for answering!

I was trying to make an attempt on trying to find for 'k' on the turbulent kinetic energy equation (k-epsilon) by using the turbulent viscosity equation (linear) instead of using the assumption that the productivity (Gk) is equal to the dissipation (epsilon). That why the last two term doesn't vanish and the equation become in this form.

There is maybe an alternative by using the dissipation equation instead, but I think the equation become non-linear also.

I ended up with the following equation, but I wasn't sure if it was correct. Even though, it's clearly non-linear and because of dx^{2} I wasn't sure how to integrate the equation.

Again, thank you for your time and your help!
Attached Images
File Type: png EqK.png (3.7 KB, 8 views)
Tibo99 is offline   Reply With Quote

Old   June 9, 2021, 12:51
Default
  #5
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by Tibo99 View Post
Thank you very much for answering!

I was trying to make an attempt on trying to find for 'k' on the turbulent kinetic energy equation (k-epsilon) by using the turbulent viscosity equation (linear) instead of using the assumption that the productivity (Gk) is equal to the dissipation (epsilon). That why the last two term doesn't vanish and the equation become in this form.

There is maybe an alternative by using the dissipation equation instead, but I think the equation become non-linear also.

I ended up with the following equation, but I wasn't sure if it was correct. Even though, it's clearly non-linear and because of dx^{2} I wasn't sure how to integrate the equation.

Again, thank you for your time and your help!
If you are looking for the rans models behavior near the wall, then you can look at the following paper https://citeseerx.ist.psu.edu/viewdo...=rep1&type=pdf
sbaffini is offline   Reply With Quote

Old   June 10, 2021, 13:01
Default
  #6
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
Thank you very much for sharing this information! It obviously a good paper and I'll take look in depth what the author did.

What I was trying to attempt is to solve for 'k' in order to have another analytic profile. Not at the wall, but for the domain. I've seen in the literature that other 'k' profile has been obtain by assuming that the production is equal to the dissipation (https://www.sciencedirect.com/scienc...67610508001815). I found out by doing so that the turbulent viscosity is no longer linear.

So, I want to keep the turbulent viscosity linear, and trying to find another 'k' profile by resolving the TKE equation and then, I end up with the differential equation in my first post.

Thank for the discussion.
sbaffini likes this.
Tibo99 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
Problem with Velocity Poisson Equation and Vector Potential Poisson Equation mykkujinu2201 Main CFD Forum 1 August 12, 2017 13:15
Adding and resolve a differential equation Luigi CFX 6 November 21, 2012 07:05
How to set up a differential equation for boundary Ray Wu FLUENT 2 April 26, 2006 18:41
Elliptic differential equation diet FLUENT 0 March 10, 2005 13:55
Where do we go from here? CFD in 2001 John C. Chien Main CFD Forum 36 January 24, 2001 21:10


All times are GMT -4. The time now is 18:44.