Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D beam example ported from Development branch of Materials.jl #6

Merged
merged 7 commits into from
Oct 2, 2019

Conversation

TeroFrondelius
Copy link
Member

@TeroFrondelius TeroFrondelius commented Aug 21, 2019

Dear all,
I got the first version working. It's not ready and it's not beautiful but at least now there is something to work on.

Here is the link to the original version: https://github.com/JuliaFEM/Materials.jl/blob/Develop/examples/3dbeam.jl

TODO:

  • get rid of the JuliaFEM dependency (now due to the Problem{Dirichlet} comparison)
  • Fix the xdmf results writing
  • remove commented code that is not needed

This will both have separate pull requests:

  • make this performance test, see Perfomance tests #8
  • use Literate.jl to integrate this to documentation and to generate Notebook

Copy link
Member Author

@TeroFrondelius TeroFrondelius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahojukka5 do you have a good idea how to handle the boundary conditions?

src/mecamatso.jl Outdated
@@ -253,6 +255,9 @@ function FEMBase.run!(analysis::Analysis{MecaMatSo})
end

for problem in get_problems(analysis)
if typeof(problem) == Problem{Dirichlet}
continue
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahojukka5 how we should skip the boundary conditions and alike here? Basically, all problems/changes in this file is due to the fact that Boundary Conditions are also a problem type.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps just allow problem type Continuum to be used in this analysis type? Then you could safely remove that check for Dirichlet boundaries.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


beam = Problem(Continuum3D, "plastic beam", 3)
beam.properties.material_model = :IdealPlastic
trac = Problem(Continuum3D, "traction", 3)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahojukka5 now the problem is these trac elements, they are also Continuum3D type, but they don't have integration points and material properties etc.

@coveralls
Copy link

coveralls commented Aug 22, 2019

Pull Request Test Coverage Report for Build 67

  • 2 of 8 (25.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-2.1%) to 88.76%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/FEMMaterials.jl 0 6 0.0%
Totals Coverage Status
Change from base Build 63: -2.1%
Covered Lines: 458
Relevant Lines: 516

💛 - Coveralls

@TeroFrondelius
Copy link
Member Author

@IvanYashchuk could you help us? Did you get the Abaqus UMAT working with JuliaFEM?

@IvanYashchuk
Copy link
Collaborator

@IvanYashchuk could you help us? Did you get the Abaqus UMAT working with JuliaFEM?

Hello, I did get Abaqus UMAT & MFront's Abaqus interface to work with Julia quite a while ago. But I've been struggling to get it working with JuliaFEM. Yesterday I've got it working for one element.
Dirichlet and Continuum3D problems are used there. I don't know how to deal with surface elements here yet.

@TeroFrondelius TeroFrondelius mentioned this pull request Aug 25, 2019
@TeroFrondelius TeroFrondelius changed the title WIP: 3D beam example ported from Development branch of Materials.jl 3D beam example ported from Development branch of Materials.jl Oct 2, 2019
@TeroFrondelius TeroFrondelius merged commit ccc3e58 into master Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants