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

How to update coefficients for transient flow with variable coefficients

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2021, 21:51
Question How to update coefficients for transient flow with variable coefficients
  #1
New Member
 
Freewill1's Avatar
 
Join Date: Aug 2014
Posts: 18
Rep Power: 11
Freewill1 is on a distinguished road
Hi,

I am learning SIMPLE algorithm and writing a toy code to implement it based on FVM.
In geernal, coefficients are variable and need to move with the flow field, e.g.:
1. density, viscosity for N-S equations;
2. density, heat capacity, thermal cunductivity for heat equations.

I have been wondering how to update coefficients for every time step. For instance, givening a cavity with flow driven by a dense ball (as shown in the attached figure), the density and viscosity of ball differ from thoese of the background medium.

After each time step, new velocity is obtained via SIMPLE algorithm, and after this, the ball (embodied by the spatially larger value of density and viscosity) moves downwards.

To "move" (or spatially "update") the coefficients, is it necessary to solve another (linear) advection equation of the field of this coefficient?

If so, how to deal with boudary conditions (BC) of this advection eqaution, esp., what is the appropriate type of "BC" of the density (e.g., Dirichelt, Nuemann, etc)?

Thanks a lot!

f
Attached Images
File Type: jpg Fig.jpg (65.7 KB, 9 views)

Last edited by Freewill1; January 9, 2021 at 01:25.
Freewill1 is offline   Reply With Quote

Reply

Tags
variable coefficients


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
temperature-dependent variable density incompressible fluid flow xchen_1123 Main CFD Forum 10 April 14, 2017 01:40
aerodynamic coefficients (viscous/inviscid flow) nicola_salin Main CFD Forum 3 May 5, 2011 17:35
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31
Flow visualization vs. Calculated flow patterns Francisco Saldarriaga Main CFD Forum 1 August 2, 1999 23:18


All times are GMT -4. The time now is 08:36.