Author Topic: Change Boundary Restrain Code During Execution(Solved)  (Read 3661 times)

joewang

  • Jr. Member
  • **
  • Posts: 18
Change Boundary Restrain Code During Execution(Solved)
« on: August 17, 2017, 11:40:41 AM »
Hi,

I'm trying to write an input file which requires a change of the boundary restrain code during execution. Basically, it is a unit cube uniaxial tensile test in direction x_1. For the first 200s, it is confined, x_2 and x_3 are fixed on boundaries. After 200s, it is then unconfined, x_2 and x_3 are free to move.
Currently, I am doing the following style and it does not change the boundary conditions. (original files attached)

Code: [Select]
MATE
  ...(input material)
COOR
  ...(input mesh)
ELEM ALL
  ...(input mesh)
BOUN
  ...
DISP
  ...
END

BATCH
prop,,1,2
end
1  0  0.     43.37       0.  1.  0.  0.
1  0  43.37   200.    43.37  0.  0.  0.

batch
  ...(solutions)
end

BOUN SET
  ...(new boundary restrain code)

END

batch
 prop,,3,4
end     
1  0  200.   4200.    43.37  1.  0.  0.
1  0  4200.  1.0e7  4043.37  0.  0.  0.

inte

stop
end

« Last Edit: August 17, 2017, 01:44:19 PM by joewang »

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Change Boundary Restrain Code During Execution
« Reply #1 on: August 17, 2017, 12:19:49 PM »
Do  you have a mesh command at the end of the BATCh solution

BATCH
   solve problem

  MESH
END

BOUN  SET
 zero all the ones you want to delete then add the ones you want set.....


END

BATCH
  solve more

END

...

joewang

  • Jr. Member
  • **
  • Posts: 18
Re: Change Boundary Restrain Code During Execution
« Reply #2 on: August 17, 2017, 01:44:01 PM »
Thank you Prof. Taylor. It works.