← Back to team overview

dolfin team mailing list archive

[Question #139887]: how can I change boundary conditions as function of time?

 

New question #139887 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/139887

It seems to me that It's not changing as time, t increases. 
Can you give me any tips to make it work?
Thank you.

--------------------------------------------------------------------------------------------
BC = compile_subdomains("x[0] < t + 5*DOLFIN_EPS && on_boundary")

# Parameters for time stepping
T  = 10.0
dt = 0.1
t  = 0.0

while t < T:

    t += dt
    # solve problem
--------------------------------------------------------------------------------------------


-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups