mbdyn issueshttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues2024-03-28T15:03:58+01:00https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/366GSoC-2024 / IPC (ZeroMQ Support)2024-03-28T15:03:58+01:00Ankit Kumaraddress.ankit@gmail.comGSoC-2024 / IPC (ZeroMQ Support)This issue is the continuation of the [issues#365](https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/356#note_3795), where I have built the project and was having some problems understanding the testing part.
I wanted to understand ho...This issue is the continuation of the [issues#365](https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/356#note_3795), where I have built the project and was having some problems understanding the testing part.
I wanted to understand how to create tests and them whether they are working or notAndrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/363GSoC-2024/Intro(NetCDF Output)2024-03-26T15:49:28+01:00Ahmed TahaGSoC-2024/Intro(NetCDF Output)Hello there,
I'm Ahmed Taha, a senior computer engineering student at Cairo University, Faculty of Engineering.
I'm interested in contributing to MBDyn specifically the project titled "Complete NetCDF output implementation", I have a goo...Hello there,
I'm Ahmed Taha, a senior computer engineering student at Cairo University, Faculty of Engineering.
I'm interested in contributing to MBDyn specifically the project titled "Complete NetCDF output implementation", I have a good knowledge of c and c++ and I have made some projects using both, here are the links to some of my projects using c and c++:
1-https://github.com/abotaha23/Snakes_Ladders-Monopoly-Game
this is a c++ project for a game which combines the two games of snakes and ladders and monopoly.
2-https://github.com/abotaha23/OS-Scheduler
this is a c project that is an OS scheduler which manages the processes and the order of execution also utilizes the memory and so on.
for more projects you can check my github: https://github.com/abotaha23
so I think I can dive into the requirements of the project mentioned above and get them done.
I'm interested in doing the 175H version.
I have done the entry test first step:
-I have installed the necessary libraries: libltdl, lapack, suitesparse, netcdf, and the drawing library.
-I have cloned the repo, run the configuration file, then compiled the project.
-Then made a test case which is just a simple rigid body like the one provided on the youtube tutorial and here are the results I got:![Rigid2D](/uploads/e31ff48bdf1e22a9c027a18820f91cbc/Rigid2D.png)
![Rigid3D](/uploads/597f2db67ab415b3e5b5980735ec49fc/Rigid3D.png)
my sincere apologies for being too late to complete the first issue but that was due to my midterm exams.
I'm waiting for you precious feedback and your guidance.
Thanks in advance.Andrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/362Harmonize private data and NetCDF output?2024-03-26T15:40:35+01:00Pierangelo MasaratiHarmonize private data and NetCDF output?Right now some elements (and probably some nodes) allow access to private data and output similar data in NetCDF using different names. An example I recently stumbled upon is the total joint, which outputs the (relative) angular velocit...Right now some elements (and probably some nodes) allow access to private data and output similar data in NetCDF using different names. An example I recently stumbled upon is the total joint, which outputs the (relative) angular velocity between the two parts as the vector "Omega", but supports access to the same datum as "wx", "wy", and "wz". We could harmonize this by supporting also the NetCDF names to access private data, saving the original names as legacy, and possibly deprecating them.Pierangelo MasaratiPierangelo Masaratihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/360GSoC-2024 / Intro (NetCDF Output Implementation)2024-03-26T15:49:29+01:00Bryan JiangGSoC-2024 / Intro (NetCDF Output Implementation)Hi there,
My name is Bryan Jiang. I am a 2nd year computer science student from the University of British Columbia in Canada. Despite being new to open source development, I am eager to contribute my skills and participate in Google Sum...Hi there,
My name is Bryan Jiang. I am a 2nd year computer science student from the University of British Columbia in Canada. Despite being new to open source development, I am eager to contribute my skills and participate in Google Summer of Code with MBDYN.
In particular, I would like to complete the NetCDF output implementation.
While I have not yet had the opportunity to work on projects specifically using C or C++, I have a solid understanding of these languages from using them extensively in my data structures and computer architecture courses. That being said, I have worked on Java and Python projects which can be found [here](http://www.github.com/bryanj1ang).
For the first part of the entry test, I performed the following steps:
```
Installed GNU Make, gcc, g++ and gfortran
Cloned source code and checkout develop branch
Generated build scripts, configured package and run build
Ran the test case Rigidbody.mbd from the tutorial
```
I also plotted the 2d vertical displacement
<span dir="">![](https://lh7-us.googleusercontent.com/Ovzrp1UkVc0Lhcv39lZdEu6_evBbbW_DoO6lwiyJReTh8PBjrwlafv7FFoV4-tJJ5pY2nWfnSR5n0Z3yLH_YcNLohBTrxQNSAQXiayZaz8h_IgOU2NTA3CrRQwbZMadNxuIPlxh9FqGxrHfYkV60T_Q){width="624" height="477"}</span>
As well as the 3d trajectory.
<span dir="">![](https://lh7-us.googleusercontent.com/GSuftmbEFQUJjSkmDcqSezD7ZwMAkKAQe-oHBTbAmsGNmhrnwMPsbICQePUksn8aYK-YsJ2n-qaWBuH71MIl4OuHKtON72C5hn0edbXYTieF5kbFq1OD_OBqzwOEXW53m9V2aaG_0Zf4eDTxBqHr8AM){width="624" height="393"}</span>
I am excited to hear back from you and am looking forward to begin contributing!Andrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/359GSoC-2024 / Intro (Genetic Optimization Module)2024-03-28T13:34:15+01:00Mir Aatif RafiqGSoC-2024 / Intro (Genetic Optimization Module)Greetings,
I'm Mir Aatif Rafiq, currently pursuing a Bachelor's degree in Information Technology at National Institute of Technology Srinagar. I'm currently in my junior year (3rd). I really found the idea working on the project to creat...Greetings,
I'm Mir Aatif Rafiq, currently pursuing a Bachelor's degree in Information Technology at National Institute of Technology Srinagar. I'm currently in my junior year (3rd). I really found the idea working on the project to create a 'Genetic Optimization Module' very very interesting.
I recently worked for a startup as my winter internship . i created a simulator for an FPGA based Neural Network Accelerator and integrated the compiler with it. Ran the VGG 16 model on the simulator which was simulating the hardware architecture( systolic arrays) by parsing the .onnx files which were serialized in protobuf. Here's my Internship report which includes the details of my internship and also the tools i used and learned during my the time period (NNA[Internship_Report.pdf](/uploads/e918da1430d7786f001da01decac3a00/Internship_Report.pdf).
I'm writing this as to ask some few question about the genetic optimization module. To mention i have some knowledge about 'Genetic Algorithms' and have implemented one for the '0/1 Knapsack problem'. As for the project i need some details about what kind of parameters/inputs the module will take and optimize and what kind of GA libraries exist so i can fiddle around with them. As i have already given a quick read to the already posted issues, i assume to answer some expected questions, i would love to work on the full 300+hr project , but will definitely start from the 175 hr project.
I would like to share some projects ive created. i can email you those as some projects are private and an NDA has been signed already but can share it for evaluation purposes.
As for the entry test, it was not mentioned for the 'Genetic Optimization Module' but ive still completed the step 1 and was finding the same issue which was resolved in commit a42d5d4a.
Looking forward to it.Andrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/358Introduction (GSoC-2024)2024-03-17T21:04:35+01:00Shimul BaidyaIntroduction (GSoC-2024)Hi theređ,
My name is Shimul Baidya, and I am a second-year Computer Science & Engineering student at Jahangirnagar University, Bangladesh. I am new to open source but eager to become an active member of the community.
I am really inte...Hi theređ,
My name is Shimul Baidya, and I am a second-year Computer Science & Engineering student at Jahangirnagar University, Bangladesh. I am new to open source but eager to become an active member of the community.
I am really interested in one of the projects, "Python Preprocessor development" as part of Google Summer of Code.
Why am I interested? I want to be an active member of the open source community from now. And I would love to start my journey with GSoC as a contributor. Also I appreciate that this community is providing a free Multibody Dynamics analysis software which can help a lot of Engineers and other people too.
My qualifications: I am quite comfortable with python and java programming language. I am also familiar with technologies like linux, C/C++.
I have completed the entry test of the "Python Preprocessor development" project. Here are the steps I followed to complete it:
>Installation of Required Tools:
- Ensured that the necessary tools are installed: make, gcc, g++ and gfortran
- I also installed some recommended optional packages: libltdl, liblapack, libsuitesparse and libnetcdf
>Cloning MBDyn Source Code:
- I've cloned the MBDyn repository from GitLab using `git clone`
>Generating Build Scripts:
- Generated the required build scripts using: `sh bootstrap.sh`
>Creating a Build Tree:
- To organize my builds, I created a build tree
>Configuring, Building MBDyn and Installing:
- Configured with `--prefix=/path`
- Built it
- Finally built install
>Running MBDyn:
- Wrote a python script to generate input
- Ran test case using: `mbdyn -f test7.txt`
>Plotting:
- Installed `gnuplot` and used .mov file to plot 2D and 3D figures
`2D Figure:`
![MBDynTest2D.png](/uploads/44d05e0503fb068d48763c63112ed6c6/MBDynTest2D.png)
`3D Figures:`
![MBDynTest3D.png](/uploads/d325924420b1bf30ac0b3dada8a2bb1a/MBDynTest3D.png)
![MBDynTest3D2.png](/uploads/265b7dfe771deb0dc0d06dcf9817dba3/MBDynTest3D2.png)
I compiled and ran it from both `develop` branch(As the step 1 of the Standard GSoC Entry Test of MBDyn) and `preprocess` branch(As the "Python Preprocessor development" Entry Test). Although I didn't add support for a new MBDyn entity yet. I will start working on it now. I will also work on completing the second and third steps of the Standard GSoC Entry Test of MBDyn.
Eagerly waiting for response. Thank you.
Therefore, I am very interested to contribute to this project and collaborate with other members of the community. Hopefully, I will learn a lot of things together.Andrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/356GSoC-2024/ Intro2024-03-27T08:21:34+01:00Indukuri Satya Sri VarmaGSoC-2024/ IntroHello,
I am Satya Sri Varma Indukuri, and I am currently a second-year computer science student at the University of Cincinnati. I am writing to express my interest in the "Introduce ZeroMQ support" project for MBDyn as part of Google S...Hello,
I am Satya Sri Varma Indukuri, and I am currently a second-year computer science student at the University of Cincinnati. I am writing to express my interest in the "Introduce ZeroMQ support" project for MBDyn as part of Google Summer of Code.
I have a good knowledge in C++, which I have acquired through my coursework and by solving problems on LeetCode (though I consider myself a beginner in LeetCode). I believe that this project aligns well with my skills and interests, and I am eager to contribute to the MBDyn project.
I understand that there is an entry test for the GSoC application process, and I am prepared to complete it to the best of my abilities. But I couldn't find the entry test for the "ZeroMQ" project I am interested in. Could you please provide me with more information about the test and any other requirements for the application process?
Looking forward to the opportunity to work with MBDyn!
Sincerely,
Satya Sri Varma IndukuriAndrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/355First Step/Issue - GSoC 20242024-03-17T14:44:19+01:00EhizojieFirst Step/Issue - GSoC 2024Good day,
I am Ehizojie, an Engineering graduand interested in participating as a contributor to mbdyn project. Particularly interested in the development of Blendyn Post-processor during the period of Google Summer of Code 2024.
I have...Good day,
I am Ehizojie, an Engineering graduand interested in participating as a contributor to mbdyn project. Particularly interested in the development of Blendyn Post-processor during the period of Google Summer of Code 2024.
I have sought to make contributions to the field of Computational Engineering with the aim of generating solutions to challenges faced by humankind. I am passionate about participating in this field based on my background in engineering, and level of skill in developing in the python language, visualizations, use of design tools such as Blender, and building and packaging libraries.
As a first step, Installing/Compiling the source code utilizing the develop branch has been performed. The following processes were carried out;
1. Installation/Compiling
> made sure GNU make, gcc, g++ and gfortran are installed
> installed libltdl, lapack, suitesparse, netcdf (>= 4)
Compiling
> get MBDynâs source code using the git repository
> changing directory to the 'source tree" and checkout develop branch`
> installing GNU autotools
> generated the required build scripts
> configured the package, ensuring the executable is in the appropriate Path, to allow for proper use of mbdyn
> run build
> install
Additional,
> Installing plotting libraries
2. Test Case
> rigidbody.mbd input file
3. Running and Plotting
`mbdyn -f rigidbody.mbd`
> obtained outputs; .out, .log, .ine and .mov files
Result
> Show Plot utilizing the .mov file
> Plotting the movement viewing the vertical displacement (2D) [mdbyn plot - rigidbody movement (2D)]![mdbyn_plot_-_rigidbody_movement__2D_](/uploads/74b51b7b157d6c710a02f3bb8fa7355b/mdbyn_plot_-_rigidbody_movement__2D_.png)
> Plotting to view the trajectory in 3D [mbdyn plot - rigidbody trajectory (3D)]![mbdyn_plot_-_rigidbody_trajectory__3D_](/uploads/5c14c4f4e7a41605443671b5072fe0fb/mbdyn_plot_-_rigidbody_trajectory__3D_.png)
Exploration/Challenges
> I had test-run different input files and tried exploring the use of the different solvers available
Eager to develop features for Blendyn tools, including supporting live plotting, and developing support for visualization of extensive models.
Anticipating receiving your guidance towards demonstrating an implementation, and making contributions. Looking forward to hearing from you soonAndrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/352Initial issue (GSOC 2024)2024-03-17T13:08:55+01:00Partha pratim DekaInitial issue (GSOC 2024)Hello,
My name is Partha Pratim Deka, and I'm a pre-final year student at the National Institute of Technology, Silchar, pursuing B.Tech degree in Computer Science and Engineering. I'm writing to express my strong interest in the "Pytho...Hello,
My name is Partha Pratim Deka, and I'm a pre-final year student at the National Institute of Technology, Silchar, pursuing B.Tech degree in Computer Science and Engineering. I'm writing to express my strong interest in the "Python Preprocessor Development" project under the Google Summer of Code (GSOC) 2024 program.
Having thoroughly reviewed your project proposal, I'm confident that my skills in Python and the knowledge gained from my compiler design course align perfectly with the project's requirements. To gain a deeper understanding, I tried the entry test in your wiki and successfully completed step 1, then compiling MBDyn from the "preprocess" branch.
While exploring the MBDynLib.py file, I identified and resolved some basic syntax errors, such as "missing ')'" and "expected 'except' or 'finally' block". After making these corrections, the code ran successfully on "CrankPanel_v2.mbd."
My current focus is on the software's usage and constructing a simple parametric input file leveraging the preprocessor's capabilities. I would greatly appreciate any guidance or suitable links you could provide to assist me.
Waiting for your kind response.
Yours Sincerely,
Partha Pratim DekaAndrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/351Output element with "predicted" states?2024-02-27T09:38:51+01:00Pierangelo MasaratiOutput element with "predicted" states?For some purposes (essentially related to co-simulation) it may be convenient to have the possibility to output data about a problem's state after prediction instead of after convergence. I'm planning to add a switch to the output eleme...For some purposes (essentially related to co-simulation) it may be convenient to have the possibility to output data about a problem's state after prediction instead of after convergence. I'm planning to add a switch to the output element to support moving the output generation and communication code from AfterConvergence() to AfterPredict(). Comments?https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/350The "aircraft instruments" element needs work2024-02-26T22:40:08+01:00Pierangelo MasaratiThe "aircraft instruments" element needs workI recently found that some instruments were added but not documented. Furthermore, some look incorrect (e.g., the sideslip). I'm having a look at it.I recently found that some instruments were added but not documented. Furthermore, some look incorrect (e.g., the sideslip). I'm having a look at it.Pierangelo MasaratiPierangelo Masaratihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/347Add support for heat generation in bearings2023-12-12T21:42:46+01:00Pierangelo MasaratiAdd support for heat generation in bearingsA visiting PhD student is working on adding support for heat generation in bearings (and other elements), to serve as sources for heat transfer equations. At the moment, we documented the elements in module-fab-sbearings and strengthene...A visiting PhD student is working on adding support for heat generation in bearings (and other elements), to serve as sources for heat transfer equations. At the moment, we documented the elements in module-fab-sbearings and strengthened the parsing of the input.
The next steps will be to write the heat generation equations and make the value available as private data, to be used as an element drive caller in the source thermal element.
We plan to work also on other elements. See the "thermo-bearing" branch for details.https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/343Uselocalsocket : socket() failed in Cygwin2023-11-29T02:57:33+01:00ObelUselocalsocket : socket() failed in CygwinHi everyoneïŒthis problem has been bothering me for a couple of weeks. I configured mbdyn-develop branch in cygwin using gcc7.4.0 withïŒ
CC=mpicc CXX=mpicxx FC=mpif90 ./configure --enable-python --enable-netcdf --disable-dependency-tr...Hi everyoneïŒthis problem has been bothering me for a couple of weeks. I configured mbdyn-develop branch in cygwin using gcc7.4.0 withïŒ
CC=mpicc CXX=mpicxx FC=mpif90 ./configure --enable-python --enable-netcdf --disable-dependency-tracking
After the compilation was completed, no _mbc_py.dll file was generated in the libraries/libmbc/.libs, so I manually generated the _mbc_py.dll file through the command :
mpicxx -shared mbc_py.o mbc_py_wrap.o mbc.o mbcxx.o sock.o mbc_dummy.o -o _mbc_py.dll
When I run case ârigid wingâ (coupled with DUST via PreCICE)ïŒhttps://gitlab.com/davideMontagnani/dust-mbdyn/-/tree/master/examples/mbdyn-dust/rigid_wing?ref_type=headsïŒ I get error:UselocalSocket("/tmp/.mbdyn_offdxwfi/mbdyn.sock"):socket() failed (0:No error)
cd /tmp/.mbdyn_offdxwfi,no "mbdyn.sock" file created.
I uesd to run the coupled cases with DUST successfully in Centos 7,but it's not woring in cygwin.I would really appreciate if I can get some suggestions on how to get this working.https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/342Add support for an external modal force that sends the motion of (selected) F...2023-11-16T11:24:35+01:00Pierangelo MasaratiAdd support for an external modal force that sends the motion of (selected) FEM nodes and receives the corresponding loadsCurrently, the peer software receives the generalized ("modal") coordinates and returns the generalized ("modal") loads. However, a modal model in MBDyn may need to be coupled with an external solver that needs the motion (displacement,...Currently, the peer software receives the generalized ("modal") coordinates and returns the generalized ("modal") loads. However, a modal model in MBDyn may need to be coupled with an external solver that needs the motion (displacement, rotation, and their derivatives) of physical nodes. Currently, this can be achieved using the "mapping" option, but for displacements only (mapping of rotations is tricky). The motion of the FEM nodes (including rotations when this applies) can be reconstructed directly by MBDyn and sent as if it were the motion of physical nodes, as a form of physics-based mapping.https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/338clang's static analyzer reports several bugs2023-07-19T20:54:02+02:00Reinhard Reschclang's static analyzer reports several bugsDear Marco,
I just run clang's static analyzer "scan-build" and got the following report:
![Screenshot_from_2023-07-16_16-47-56](/uploads/52b0b0db1eac2249e9dbd9bc5fdcff58/Screenshot_from_2023-07-16_16-47-56.png)
[clang-scan-build.tar.bz...Dear Marco,
I just run clang's static analyzer "scan-build" and got the following report:
![Screenshot_from_2023-07-16_16-47-56](/uploads/52b0b0db1eac2249e9dbd9bc5fdcff58/Screenshot_from_2023-07-16_16-47-56.png)
[clang-scan-build.tar.bz2](/uploads/6efb23d42d2957198edf96b8426b0431/clang-scan-build.tar.bz2)
If you want to check it, you can extract the attached file and view it using clang's "scan-view" (release 15.07). I have already fixed some of them at branch sp_gradient_update (71a0212c8254514f6745b61d0238d612507de939).https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/330When "no text" is used with NetCDF, textual files are created anyway2023-06-09T00:07:22+02:00Pierangelo MasaratiWhen "no text" is used with NetCDF, textual files are created anywayThey correctly remain empty, but they should not be created at allThey correctly remain empty, but they should not be created at allPierangelo MasaratiPierangelo Masaratihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/296NetCDF support for misc elements (including user-defined)2022-11-23T22:01:25+01:00Pierangelo MasaratiNetCDF support for misc elements (including user-defined)Some elements are still missing support for NetCDF output, significantly many user-defined onesSome elements are still missing support for NetCDF output, significantly many user-defined onesAndrea ZanoniAndrea Zanonihttps://public.gitlab.polimi.it/DAER/mbdyn/-/issues/292"inertia" NetCDF support broken and undocumented2024-02-19T21:50:06+01:00Pierangelo Masarati"inertia" NetCDF support broken and undocumentedWhen "output" is set to "always", the "inertial" pseudo-element outputs garbage in the NetCDF database.
Furthermore, the output data are undocumented and incomplete (the text format contains more flavors).
Absolute/relative position/orie...When "output" is set to "always", the "inertial" pseudo-element outputs garbage in the NetCDF database.
Furthermore, the output data are undocumented and incomplete (the text format contains more flavors).
Absolute/relative position/orientation could be optional, or alternative; the option of using a node's frame as the moving relative frame could be interesting.https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/277Implement spherical joint's dGetPrivData2022-10-05T22:19:25+02:00é»ç„„éImplement spherical joint's dGetPrivDataI want to use private data of spherical joint, but I can't find it in input manual.Does someone know where it is?I want to use private data of spherical joint, but I can't find it in input manual.Does someone know where it is?https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/276Restart functionality and simulation divergence2022-11-28T14:07:18+01:00Rodolfo Curci PuracaRestart functionality and simulation divergenceHello everybody,
I'm using mbdyn coupling it with CFD and with the CFD case size increasing I'm having trouble to finish the simulation due to time constraint in the cluster. So, the restart functionality is important for me to continue...Hello everybody,
I'm using mbdyn coupling it with CFD and with the CFD case size increasing I'm having trouble to finish the simulation due to time constraint in the cluster. So, the restart functionality is important for me to continue the simulation.
From what I understood, reading the manual and the codes, there is the functionality of writing a file to restart the simulation, but doing tests, this file ended up generating numbers, in the element part of the file, like 1.996025e-320 that led to an `MathParser` error. Replacing these numbers type by zero solved the error, but the simulations did not converge after the restart and the residuals are much higher when compared to the case without the restart for the same timestep.
Well I would like to know if anyone is working on this problem or if not, I would like to help make this functionality work at least in principle for the beam structural part of the program. Any idea or hint what might be missing in the code so that this divergence does not occur in the continuity of the simulation?
Thanks!