Author Topic: Programmatic deletion of a link between two nodes  (Read 7746 times)

fheinrich

  • Jr. Member
  • **
  • Posts: 27
Programmatic deletion of a link between two nodes
« on: October 23, 2015, 07:28:07 AM »
Dear all,

I linked two nodes (node 55 and node 121) in a simulation with the following command:

Code: [Select]
LINK
  55, 121, 0, 0, 0, 0

Now I would like to programmatically delete this link with the source-code during run-time
as soon as a certain condition is reached.

The question:
Could someone give me a hint where to implement such a deletion?

As far as I have figured out, the main routine dealing with the links is
"plink.f". Also, I figured out that the two nodes "55" and "121" can be found
in the variables n1, n2, m1 and m2 in the routine "plink.f".
Now I am looking for the right spot to tell the code: "Delete the link once the
condition is reached".

Many thanks in advance!

Best regards

PS: The closest thread I found in this forum is http://feap.berkeley.edu/forum/index.php?topic=1017.msg3079#msg3079 - unfortunately this does not apply to my problem as I want to implement the deletion myself.
« Last Edit: October 23, 2015, 07:29:45 AM by fheinrich »

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Programmatic deletion of a link between two nodes
« Reply #1 on: October 23, 2015, 11:35:47 AM »
Have you tried making a second call to LINK:
Code: [Select]
LINK
  55 121 0 0 1 1

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: Programmatic deletion of a link between two nodes
« Reply #2 on: October 23, 2015, 12:00:23 PM »
The attached file does a solution when linked, then unlinks the node and does another solution.  You could use LINK instead of ELINk too.

fheinrich

  • Jr. Member
  • **
  • Posts: 27
Re: Programmatic deletion of a link between two nodes
« Reply #3 on: October 26, 2015, 07:55:01 AM »
Dear FEAP_Admin, Dear Professor,

many thanks for your hints which are indeed correct!
However, I am not sure whether this approach solves my problem.

I attached an image which hopefully makes it clearer what I intend to do:
1. I want to link two surfaces to each other (i.e., the nodes of the surfaces).
This is what I did with the command "LINK ..."

2. I want to apply a force, as shown in the attached image, preferably in many
load steps. As soon as a critical stress (or rather force) is detected at a certain
linked node-pair, I want to delete the link. In this way I want to model the break-up
of the interface. Think of two plates which are glued together. The interface then fails
at a certain stress.

For that reason, I think I cannot solve this problem only from the input-file. I assume
I rather have to detect the actual force after each load step within the code and then delete
the link somewhere (this is the question) in the code.

Many thanks for your efforts!

Best regards

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: Programmatic deletion of a link between two nodes
« Reply #4 on: October 26, 2015, 08:44:02 AM »
You should be able to use the 'gapnd.f' element in the directory /elements/frame as a prototype for the method you describe.  You may have to modify the routine to consider the force states you intend to simulate.

fheinrich

  • Jr. Member
  • **
  • Posts: 27
Re: Programmatic deletion of a link between two nodes
« Reply #5 on: October 28, 2015, 08:09:36 AM »
Dear Professor,

many thanks again for your hints and patience!

I am currently having a closer look at the 'gapnd.f'-routine. It looks very helpful, although
it does not seem to be trivial to get the routine running.

In the meantime, I would like to ask a general question which maybe makes my problem
clearer to others:
Does FEAP currently support the simulation of cohesive- or adhesive interface-failure? (Such as
the break-up of two bonded geometries at the interface. In particular, can FEAP somehow model
something like this (a cohesive zone model or something similar) : https://youtu.be/qBdI9D4fNjQ?t=296 ?)

As I did not find anything like this in the manual, I assumed that there is no "out-of-the-box" feature
to accomplish this. Therefore I am using the above approach to build this feature myself.

Best regards

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: Programmatic deletion of a link between two nodes
« Reply #6 on: October 28, 2015, 08:16:37 AM »
At present the program does not have any cohesive element.  One was started several years ago but never finished -- see attached for beginning.  Maybe this helps a bit.

fheinrich

  • Jr. Member
  • **
  • Posts: 27
Re: Programmatic deletion of a link between two nodes
« Reply #7 on: October 29, 2015, 02:09:57 AM »
Dear Professor,

many thanks for the clarification and the files!
I will have a deeper look at them and will post an update in case
they help to solve the problem.

Best regards

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
Re: Programmatic deletion of a link between two nodes
« Reply #8 on: June 09, 2017, 04:58:25 PM »
Dear Prof. Taylor,

Thanks very much for your cohesive element!

If I want to better understand  FE-Theory part of this user element (Residual + Tangent Matrix FORM for cohesive element),

Which Articles or Chapiter of Books should I read ?

Warm regards,
Yaakov 
« Last Edit: June 10, 2017, 07:23:47 AM by Yaakov »
Let's boost FEAP's performance!

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: Programmatic deletion of a link between two nodes
« Reply #9 on: June 10, 2017, 07:23:21 AM »
Yaakov,

Probably the best thing to do is Google "Cohesive Zone Models".  You should find several report and thesis publications you can download to study.  From a brief review of some of these it is evident that you will need to understand the application you have to know which of the many behavior models is appropriate for your application.