How do we check the total number of 'DOFs' when using partitioned mesh?

9 views
Skip to first unread message

Thomas

unread,
Sep 9, 2017, 11:35:46 AM9/9/17
to mofem Group
How do we check the total number of 'DOFs' when using partitioned mesh to solve FE problems? Thank you.

Karol Lewandowski

unread,
Sep 9, 2017, 11:43:38 AM9/9/17
to mofem Group
You can do this automatically from the log file. 
Assuming that your commands ends with: 
./your_command | tee log

You can plot number of DOFs in ELASTIC element with the following command:

grep "name ELASTIC Nb. local dof" log | grep "rank = 0" | grep "row" | awk '{print $25}'



Reply all
Reply to author
Forward
0 new messages