[MBDyn-users] Get drive output for debugging

MBDyn users list mbdyn-users at mbdyn.org
Mon Jan 13 08:33:49 CET 2020


Dear Richard,
Having it directly in netCDF format can definitely be useful.
I used it as well to plot the response of my PID controller, but at the 
time was not using netCDF for that purpose.
Kind regards,
-Louis

On 10.01.20 17:49, MBDyn users list wrote:
>
> I might as well add, for the benefit of others, that I ended up 
> getting the information by applying an absolute force to clamped node 
> using a component template drive. This let me see it in the NetCDF 
> output, which was convenient for me.
>
> Richard
>
>
> On 10/01/2020 16:38, MBDyn users list wrote:
>> Dear Reinhard, Richard,
>>
>> the drive callers NetCDF output is not implemented yet: should be 
>> straightforward, though.
>>
>> Regards,
>> Andrea
>>
>> On 10/01/20 14:59, MBDyn users list wrote:
>>> Dear Reinhard,
>>>
>>> Thanks for this, I didn't see this in the manual either, perhaps I 
>>> will add it at some point and submit a pull request.
>>>
>>> Regards,
>>>
>>> Richard
>>>
>>> On 10/01/2020 13:09, MBDyn users list wrote:
>>>> Dear Richard,
>>>>
>>>> I don't know how to get the output in netcdf. But here is an 
>>>> example how to do it with text output:
>>>>
>>>>     structural: 2001, dynamic,
>>>>     ...
>>>>     ;
>>>>
>>>>     structural: 2002, dynamic,
>>>>     ...
>>>>     ;
>>>>
>>>>     drive caller: 1001,
>>>>         node rotation, node1, 2001, node2, 2002,
>>>>         output, value, yes, derivative, yes;
>>>>
>>>> mbdyn -f <mbdyn_model> -o <output_file> >& /dev/null &
>>>>
>>>> tail -f <output_file>.drv | awk -F ' ' '/^1001/ {print $2, $3}'
>>>>
>>>> The output will be the value and the first derivative of drive 
>>>> caller 1001 once for each time step.
>>>>
>>>> Mit freundlichen Grüßen / Best regards
>>>>   Reinhard Resch
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: MBDyn-users [mailto:mbdyn-users-bounces at mbdyn.org] Im Auftrag 
>>>> von MBDyn users list
>>>> Gesendet: Freitag, 10. Jänner 2020 13:09
>>>> An: mbdyn-users at mbdyn.org
>>>> Betreff: [MBDyn-users] Get drive output for debugging
>>>>
>>>> Dear List,
>>>>
>>>> Is there any way to get output the value of a drive during 
>>>> simulation for debugging purposes? Into the netcdf file would be 
>>>> ideal if possible.
>>>>
>>>> Best regards,
>>>>
>>>> Richard
>>>> _______________________________________________
>>>> MBDyn-users mailing list
>>>> MBDyn-users at mbdyn.org
>>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>>> _______________________________________________
>>>> MBDyn-users mailing list
>>>> MBDyn-users at mbdyn.org
>>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>>>
>>> _______________________________________________
>>> MBDyn-users mailing list
>>> MBDyn-users at mbdyn.org
>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>
>
> _______________________________________________
> MBDyn-users mailing list
> MBDyn-users at mbdyn.org
> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users



More information about the MBDyn-users mailing list