mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
changed timestep control in molecule::move to tEnd > (SMALL*SMALL)) to allow for short timesteps (1e-14) for MD. Problem only occuring in parallel. Added tutorials for gnemdFoam: constrictedChannel and nanoNozzle
removed constantidList from constrictedChannel removed idList from constrictedChannel
This commit is contained in:
@ -54,7 +54,7 @@ bool molecule::move(molecule::trackData& td)
|
||||
U_ += 0.5*deltaT*A_;
|
||||
}
|
||||
|
||||
while (td.keepParticle && !td.switchProcessor && tEnd > SMALL)
|
||||
while (td.keepParticle && !td.switchProcessor && tEnd > (SMALL*SMALL))
|
||||
{
|
||||
// set the lagrangian time-step
|
||||
scalar dt = min(dtMax, tEnd);
|
||||
@ -178,6 +178,7 @@ void molecule::hitWallPatch
|
||||
{
|
||||
U_ -= 2*Un*nw;
|
||||
}
|
||||
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user