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

finite volume solver problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 20, 2012, 06:24
Cool finite volume solver problem
  #1
New Member
 
ufocfd
Join Date: Jun 2012
Posts: 10
Rep Power: 5
ufocfd is on a distinguished road
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.
ufocfd is offline   Reply With Quote

Old   June 20, 2012, 06:37
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 1,597
Rep Power: 22
FMDenaro will become famous soon enough
Quote:
Originally Posted by ufocfd View Post
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.
I see a discrepancy, dimensionally your equation is not correct ...

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)
FMDenaro is online now   Reply With Quote

Old   June 20, 2012, 10:15
Default
  #3
New Member
 
ufocfd
Join Date: Jun 2012
Posts: 10
Rep Power: 5
ufocfd is on a distinguished road
thanks very much FMD !
ufocfd is offline   Reply With Quote

Reply

Tags
finite volume, rhs update, solver error

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
finite volume VS finite element solomon FLUENT 4 April 3, 2015 00:10
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
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 05:36
About finite volume methods for N-S Lionel BRS Main CFD Forum 6 July 16, 2006 03:15


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