1/* $Header: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/modules/module-autodiff_test/examples/deformable_joint_ad_tmp.mbdyn,v 1.4 2017/01/12 14:47:46 masarati Exp $ */ 2/* 3 * MBDyn (C) is a multibody analysis code. 4 * http://www.mbdyn.org 5 * 6 * Copyright (C) 1996-2017 7 * 8 * Pierangelo Masarati <masarati@aero.polimi.it> 9 * Paolo Mantegazza <mantegazza@aero.polimi.it> 10 * 11 * Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano 12 * via La Masa, 34 - 20156 Milano, Italy 13 * http://www.aero.polimi.it 14 * 15 * Changing this copyright notice is forbidden. 16 * 17 * This program is free software; you can redistribute it and/or modify 18 * it under the terms of the GNU General Public License as published by 19 * the Free Software Foundation (version 2 of the License). 20 * 21 * 22 * This program is distributed in the hope that it will be useful, 23 * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 * GNU General Public License for more details. 26 * 27 * You should have received a copy of the GNU General Public License 28 * along with this program; if not, write to the Free Software 29 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30 */ 31 32/* 33 AUTHOR: Reinhard Resch <reinhard.resch@accomp.it> 34 Copyright (C) 2013(-2017) all rights reserved. 35 36 The copyright of this code is transferred 37 to Pierangelo Masarati and Paolo Mantegazza 38 for use in the software MBDyn as described 39 in the GNU Public License version 2.1 40*/ 41 42include: "deformable_joint_ad.set"; 43 44begin: data; 45 problem: initial value; # the default 46end: data; 47 48begin: initial value; 49 50include: "deformable_joint_ad.inv"; 51 52end: initial value; 53 54begin: control data; 55 56include: "deformable_joint_ad.cod"; 57 58end: control data; 59 60include: "deformable_joint_ad.ref"; 61 62begin: nodes; 63 64include: "deformable_joint_ad.nod"; 65 66end: nodes; 67 68begin: elements; 69 include: "deformable_joint_ad.elm"; 70 71 user defined: elem_id_spring1, 72 deformable joint ad, 73 node1, node_id_1, 74 offset, reference, ref_id_spring1, null, 75 node2, node_id_2, 76 offset, reference, ref_id_spring1, null, 77 stiffness, matr, S11, S12, S13, 78 S12, S22, S23, 79 S13, S23, S33, 80 damping, matr, D11, D12, D13, 81 D12, D22, D23, 82 D13, D23, D33, 83 residual, template meta program, 84 jacobian, template meta program; 85 86 user defined: elem_id_spring2, 87 deformable joint ad, 88 node1, node_id_1, 89 offset, reference, ref_id_spring2, null, 90 node2, node_id_2, 91 offset, reference, ref_id_spring2, null, 92 stiffness, matr, S11, S12, S13, 93 S12, S22, S23, 94 S13, S23, S33, 95 damping, matr, D11, D12, D13, 96 D12, D22, D23, 97 D13, D23, D33, 98 residual, template meta program, 99 jacobian, template meta program; 100 101 user defined: elem_id_spring3, 102 deformable joint ad, 103 node1, node_id_1, 104 offset, reference, ref_id_spring3, null, 105 node2, node_id_2, 106 offset, reference, ref_id_spring3, null, 107 stiffness, matr, S11, S12, S13, 108 S12, S22, S23, 109 S13, S23, S33, 110 damping, matr, D11, D12, D13, 111 D12, D22, D23, 112 D13, D23, D33, 113 residual, template meta program, 114 jacobian, template meta program; 115end: elements; 116 117