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

Search Results

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

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: ARTem
Forum: OpenFOAM Running, Solving & CFD July 23, 2013, 05:23
Replies: 6
Views: 3,023
Posted By ARTem
Okay, e.g., let's take icoFoam and use AB for...

Okay, e.g., let's take icoFoam and use AB for momentum time discretisation.

icoFoam.C looks like:

...
fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi,...
Forum: OpenFOAM Running, Solving & CFD July 23, 2013, 04:42
Replies: 6
Views: 3,023
Posted By ARTem
Of course, you can study how CrankNicholson...

Of course, you can study how CrankNicholson scheme is implemented in OF and create AB from it, but this is the fastest way.
By the way, Crank-Nicholson scheme is easy to implement too

yEqn
(
...
Forum: OpenFOAM Running, Solving & CFD July 22, 2013, 04:35
Replies: 6
Views: 3,023
Posted By ARTem
Hello, Mirage12. For example, I want to...

Hello, Mirage12.

For example, I want to solve ∂y/∂t + ∂(yU_i)/∂x_i = 0. To use Adams-Bashforth, I should do next

y^(n+1) = y^(n) - dt*(3/2*( ∂(y^(n+1)U_i)/∂x_i) - 0.5*( ∂(y^(n)U_i)/∂x_i)). That...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 06:34.