Commit 3cffb985 authored by Gabriele Rocco's avatar Gabriele Rocco
Browse files

Initial Conditions for the coupled solver with linearised advection term


git-svn-id: https://gforge.sci.utah.edu/svn/nektar/trunk@3358 305cdda6-5ce1-45b3-a98d-dfc68c8b3305
parent 6e0e630e
......@@ -1281,7 +1281,9 @@ namespace Nektar
m_integrationOps.DefineImplicitSolve(&CoupledLinearNS::SolveUnsteadyStokesSystem,this);
// Set initial condition using time t=0
SetInitialConditions(0.0);
}
case eSteadyStokes:
SetUpCoupledMatrix(0.0);
......@@ -1310,7 +1312,8 @@ namespace Nektar
break;
case eSteadyLinearisedNS:
{
SetInitialConditions(0.0);
Array<OneD, Array<OneD, NekDouble> > AdvField(m_velocity.num_elements());
for(int i = 0; i < m_velocity.num_elements(); ++i)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment