Damping problem

Numerical methods and mathematical models of Elmer
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Damping problem

Post by raback »

Hi

This is the modification that brought damping into ElasticSolver. So its from last December.

https://github.com/ElmerCSC/elmerfem/co ... d8ce12c573

Do you get this strange LUA errors when starting from command line?

The virtual machine is probably too old. But if you go to directory "elmerfem" and say pull, and then go to root and say "source buildelmer.sh" you should get a fresh Elmer. You may need to empty the directory build before. Normally it would suffice to do "sudo make install" in build directory but so much has changed that it may be a good idea to recompile.

-Peter
Sayan
Posts: 112
Joined: 06 Dec 2020, 12:44
Antispam: Yes

Re: Damping problem

Post by Sayan »

Hiii,
I was following an youtube video in which git pull command was used to.update which I have done..
In VM I first created a folder demo where .msh and sif file was there..I don't know how to create Cmaketest file so I copied and edited it from Elastic beam 3d ...after that I run it..But didn't get any damping effect...
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Damping problem

Post by raback »

It is not enough to make "git pull", you need to compile too...
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Damping problem

Post by kevinarden »

If you have the Elmer VM I would think you could update it and keep it updated by doing

sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
sudo apt-get update
sudo apt-get install elmerfem-csc-eg


from command line.
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Damping problem

Post by raback »

Hi

I'm just added several consistency tests for damping:

Code: Select all

 
elmeruser@elmeruser-VirtualBox:~/elmerfem/fem/tests$ ls | grep Elastic | grep Damping 
ElasticBeam2DDampingBeta
ElasticBeam2DDampingBetaP2
ElasticBlockDamping
ElasticBlockDampingAlpha
The "damping" and "damping alpha" use just a simple rigid block where you can compute the exact solution when there is a constant force acting on the object. For "damping beta" you have to have some strains so I added simple 2D beam with a mass.

The tests include StressSolver and ElasticSolver in the same sif file. Hence you can compare the results between them. Also there are tests for nodal quadratic and p:2 which give same results with rather good accuracy. So you should use either element type. Because every test tests both solvers there are effectively 8 tests.

-Peter
Sayan
Posts: 112
Joined: 06 Dec 2020, 12:44
Antispam: Yes

Re: Damping problem

Post by Sayan »

Is there any option to share result from VM to my machine as simple copy paste will not work I believe,..
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Damping problem

Post by kevinarden »

There are several help sites on google. Share virtual box files to local hosts. It involves setting up a shared folder.
The easiest would be a cloud drive like github, google drive, dropbox, etc.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Damping problem

Post by kevinarden »

I installed a fresh W10, installed the latest Windows build, no damping in ElasticSolve. I took the latest ElasticSolve.F90 and compiled it as a user solver. Called the new compiled version and damping works.
Sayan
Posts: 112
Joined: 06 Dec 2020, 12:44
Antispam: Yes

Re: Damping problem

Post by Sayan »

Hiii,
Since last two days I was working in VM and after updating as peter said, now it's taking damping effect
..So in windows 10 I have to download .F90 file and compile it from.cmd? Can you please tell me the steps and from where f90 file you compiled?
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Damping problem

Post by kevinarden »

The entire source code is here
https://github.com/ElmerCSC/elmerfem
ElasticSolve.F90 is under FEM/SRC/MODULES
place a copy in the project directory and rename it MyElasticSolve.F90
in ElmerGUI you can use the menu option run, and compiler
It will prompt you for a file name and compile MyElasticSolve.dll
in the Solver section change Procedure = "ElasticSolve" "ElasticSolver"
to Procedure = "MyElasticSolve" "ElasticSolver"
Post Reply