CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Mid solution alteration of boundary conditions (http://www.cfd-online.com/Forums/openfoam-solving/112685-mid-solution-alteration-boundary-conditions.html)

duncan21187 February 2, 2013 14:45

Mid solution alteration of boundary conditions
 
Hi All

Am attempting to simulate IC engine manifold breathing by switching between sinusoidal and fixed boundary conditions at pi values of time for each of the 4 manifold branches. Currently I am attempting to do this manually by stopping the solution after every pi timesteps and then manually changing the boundary conditions of the patches in the '0' timestep folder, then resuming the simulation using the controlDict to take the solution up to the next pi interval. This is not working however, and I was wondering if anyone knew a better way of doing this, short of coding particular time-varying BC's for each of the 4 boundary patches??

Many thanks

Duncan


All times are GMT -4. The time now is 20:10.