|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 115
Rep Power: 15 ![]() |
I am developing a uniform compressible finite volume solver,
Runs ok when using a cell size of 2.0 but somethings going wrong when I reduce the cell size to 0.1 units. I think the CFL & timestep specification is ok but I think its related to the update of the Q vector: RHS = dE/dx + dF/dy + dG/dz Q(n+1) = Q(n) + RHS*dt/vol, where dt = timestep and vol = cell volume Is this correct ? Have I missed something obvious ? Thanks. |
|
|
|
|
|
|
|
|
#2 | |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,048
Rep Power: 75 ![]() ![]() ![]() |
Quote:
If V is your Volume, then the equation writes: d/dt [Integral_V Q dV] + Integral_V Div Flux dV = 0 Therefore: d/dt [Q_average] + (1/vol) Integral_V Div Flux dV = 0 Hence, your RHS must be vol*(dE/dx + dF/dy + dG/dz) |
||
|
|
|
||
|
|
|
#3 |
|
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 115
Rep Power: 15 ![]() |
thanks very much FMD !
|
|
|
|
|
|
![]() |
| Tags |
| finite volume, rhs update, solver error |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
| finite volume VS finite element | solomon | FLUENT | 4 | April 3, 2015 01:10 |
| Problem with implicit unsteady solver | CCMuser | STAR-CCM+ | 2 | March 3, 2010 12:20 |
| Problem Interface Solid Fluid with wall velocity Solver v12 | hills1 | CFX | 2 | October 12, 2009 06:36 |
| About finite volume methods for N-S | Lionel BRS | Main CFD Forum | 6 | July 16, 2006 04:15 |