Personal tools
You are here: Home / cm / Wiki / time varying boundary conditions for advection diffusion equation problems
Navigation
Log in


Forgot your password?
 

time varying boundary conditions for advection diffusion equation problems

Hi there, the CMISS quirk I found is that the function IPINIT asks you for specifying a file called xy.ipinit_time if one wants to define time-dependent boundary consditions. However, nothing happens because the option is only used for explicit/implicit finite difference problems. This is employed by function march4, but not by march1 (march1 refers to parabolic equations like the advection/diffusion equation). The current workaround is a Perl script that updates the xy.ipinit file looping around the fem define initial command over N time steps. Here's attached a simplified pseudo code example listing the important commands.

<a href="scratch.txt">scratch.txt</a>