[MBDyn-users] Some questions regarding structural internal forces.

Pierangelo Masarati masarati at aero.polimi.it
Sat Jan 31 17:32:48 CET 2009


Pierangelo Masarati wrote:
> Rudi Jaeger wrote:
>> Dear Dr. Masarati,
>>
>> I am trying to use structural internal forces. My first problem is 
>> that the .frc-output-file
>> contains 12 colums though the input manual suggests that there are 
>> only 9.
>> Based on the input file listed below, colums 7-9 and 10-12 are the 
>> locations
>> where the forces are being applied.
> 
> yes, the locations with respect to the first and the second node, 
> respectively.

Actually, after looking a little bit more into this, there seems to be a 
bug in the output of the absolute internal force.  At line #1051, the 
output of the location with respect to node #2 should use Arm2 instead 
of Arm1, namely

diff -u -r1.18 -r1.19
--- mbdyn/struct/strforce.cc	4 Jan 2009 18:05:12 -0000	1.18
+++ mbdyn/struct/strforce.cc	31 Jan 2009 16:28:46 -0000	1.19
@@ -1048,7 +1048,7 @@
  	<< " " << dGet()
  	<< " " << Dir*dGet()
  	<< " " << pNode1->GetXCurr() + pNode1->GetRCurr()*Arm1
-	<< " " << pNode2->GetXCurr() + pNode2->GetRCurr()*Arm1
+	<< " " << pNode2->GetXCurr() + pNode2->GetRCurr()*Arm2
  	<< std::endl;
     }
  }

Cheers, p.





More information about the Mbdyn-users mailing list