Add or remove BCs at a specific time in diffusion framework

TetGen, import mesh, Paraview, Quasar, etc

Add or remove BCs at a specific time in diffusion framework

Postby weixinli » Mon Sep 12, 2016 6:35 pm

This post is similar to viewtopic.php?f=24&t=135

Thanks to the post by Roman, we know it's possible to add BCs at a later phase by using
Code: Select all
Read `FileName' atTime 10. ms
Read `FileName' atStep 10000


However, in the diffusion framework, BCs need to be specified through the command
Code: Select all
DiffusionBoundaryCondition 'BCName'
at the input of DiffusionProblem. How can we add new BCs in the diffusion framework after the simulation starts running?
weixinli
 
Posts: 6
Joined: Sat Apr 02, 2016 12:34 am

Re: Add or remove BCs at a specific time in diffusion framew

Postby zhouxinwei » Mon Sep 12, 2016 7:18 pm

The following two commands are added in the boundary condition definition:

Code: Select all
ActivateAtRealTime 1 hours
DeactivateAtRealTime 10 hours


The code is updated in GitLab.
zhouxinwei
 
Posts: 208
Joined: Thu Jul 09, 2015 7:12 pm


Return to Pre/Post Processing

Who is online

Users browsing this forum: No registered users and 1 guest

cron