|
[Sponsors] |
How to Solve System of Partial Differential Equations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 14, 2019, 08:25 |
How to Solve System of Partial Differential Equations
|
#1 |
Member
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8 |
Hi Guys,
Can any of you help me how to solve these three 1D heat balance equations simultaneously via finite difference method? The physical description is that this is an insulated pipe underground so the superscripts w, i, and g refer to the water, insulation, and ground while h is the heat transfer coefficient between the mediums (i.e. wi refers to water to insulation). T^u is a scalar value for the undisturbed ground temperature and delta_x is the pipe length. The aim here is to obtain the temperature change of water medium through the pipe length over time (as well as the insulation, and the ground). Ref: Pálsson, Hálldór - Methods for planning and operating decentralized combined heat and power plants - link Thanks in advance. |
|
May 14, 2019, 09:45 |
convergence problem
|
#2 |
New Member
feride
Join Date: Dec 2018
Posts: 3
Rep Power: 7 |
hi everybody,
I'm working on thermal hydrualic analysis of a nuclear reactor we can think fuel as heated cylindirical tubes which has bc with heat flux. There are 69 fuel rods ,heat flux is given as udf. working fluid temp is 300 K, The cooling mechanism is natural convection so ı try both boussienesq approx. tempereture dependent features with polynomial eq. in material box. The Ra number order is 10^13, I use k-e model for turbulent modeling, there are inlet pipe which is velocity inlet, outlet pipe which is out flow bc Btw fluid is water. I have tried many ways to converge continuity. but they didnt work. It would be much appreciated if you could share with me your opinions regards to this problem. All the best |
|
May 14, 2019, 10:59 |
|
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
This appears a system of hyperbolic-like equations for the temperature with source terms. You can find a lot of methods for solving numerically these equations using FD. I suggest start using an explicit time-marching method. Here is a textbook http://sgpwe.izt.uam.mx/files/users/...tos/Morton.pdf |
||
May 14, 2019, 11:28 |
|
#4 | |
Member
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8 |
Quote:
I kindly ask you to check if these FD approximations seem to be correct: |
||
May 14, 2019, 11:36 |
|
#5 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
No, FTCS scheme for hyperbolic equation is a very bad choice. Have a look to the chapter dedicated and check the consequences in terms of numerical stability properties. |
||
June 5, 2019, 07:01 |
|
#6 |
Member
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8 |
||
June 6, 2019, 22:59 |
|
#7 |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
What about MacCormack scheme?
|
|
June 7, 2019, 05:41 |
|
#8 |
Member
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8 |
||
June 7, 2019, 05:55 |
|
#9 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
Be careful, implicit schemes for hyperbolic equations are not generally used for some issue in the BCs. First of all, I suggest starting with the FTUS scheme, it is only first order accurate but provide you the first indication. Then the second order accurate scheme in time and space I suggest to try is the Lax-Wendroff scheme. Be also careful that, according to the Godunov's theorem, using high order scheme you can have presence of spurious numerical oscillations |
||
June 7, 2019, 20:39 |
|
#10 |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
Both Lax-Wendroff and MacCormack schemes are second order accurate. But MacCormack scheme is very user friendly. it uses only two steps (predictor-corrector). The Lax-Wendroff is very tedious it requires you to express second order derivatives.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Integration of Partial Differential Equations | m_ridzon | Main CFD Forum | 4 | September 11, 2017 15:26 |
Low Reynolds K Epsilon Launder Sharma Model Functions Doubt... | Ruonin | Main CFD Forum | 17 | February 17, 2014 10:52 |
partial equations solving with c++ | Tobi | Main CFD Forum | 1 | October 18, 2013 11:54 |
differential equations | cosine | CFX | 1 | May 31, 2010 08:22 |
Good library to solve huge linear system | Ricardo Bonon | Main CFD Forum | 3 | May 19, 2000 07:24 |