# Hyperbolic equasion solver or How OF works

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

October 30, 2013, 09:07
Hyperbolic equasion solver or How OF works?
#1
Member

Avdeev Evgeniy
Join Date: Jan 2011
Location: Togliatty, Russia
Posts: 63
Blog Entries: 1
Rep Power: 14
Hello,
I have working hyperbolic equasion solver (hyper1Foam in attachment - works in OF 2.1.0).

Main equation:

accordingly
Code:
        solve
(
fvm::ddt(psi)
+
fvm::div(phi,psi)
);
and in fvShemes

Code:
ddtSchemes
{
ddt(psi) Euler;
}
divSchemes
{
div(phi,psi) Gauss linear;
}
Working geometry - coube 1x1x1 diveded on 5 equal parts along oZ axe.

Main equation in discretized form:

[LaTeX Error: Syntax error]

where

In my case

And when I insert result of phi from one of time directories...

Not zero!
I khow that hyperbolic equation will not =0, because it is iterational method. Is it residual?

I want to understand - how OpenFOAM count values of phi from one iteration to another - how to get new phi from old values:
phi_new = ... ... ...

And what initial values of phi?

Results: Table of results on GoogleDocs
Attached Images
 hyperFoamMesh.png (6.6 KB, 19 views) Results.jpg (41.6 KB, 19 views) equation.png (20.2 KB, 17 views)
Attached Files
 hyper1Foam.zip (8.3 KB, 5 views) case.zip (7.9 KB, 4 views)

Last edited by j-avdeev; November 4, 2013 at 08:24.

 October 30, 2013, 09:12 #2 Member   Avdeev Evgeniy Join Date: Jan 2011 Location: Togliatty, Russia Posts: 63 Blog Entries: 1 Rep Power: 14 second file of equatins

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post makaveli_lcf OpenFOAM Running, Solving & CFD 3 September 11, 2013 12:44 Luiz CFX 4 March 6, 2011 21:02 suitup OpenFOAM Running, Solving & CFD 0 January 20, 2010 08:45 bearcat CFX 6 April 28, 2008 14:08 cfd guy CFX 4 May 8, 2001 06:04

All times are GMT -4. The time now is 02:04.

 Contact Us - CFD Online - Privacy Statement - Top