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

2D flux field visualization #51

Merged
merged 33 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e2fbe46
Prototype to interpolate L2 gradient field.
termi-official Dec 13, 2022
873741a
fix version for quadratic heat example, i.e. quadratic ansatz for sca…
koehlerson Dec 14, 2022
ff2aae9
fix colorranges in the case of constant field; discontinuous plot wor…
koehlerson Dec 14, 2022
3b599a0
Fix bug in gradient field computation.
termi-official Dec 15, 2022
49c006e
Finetune and add docs.
termi-official Dec 15, 2022
6934ef8
Add correct example to docs.
termi-official Dec 15, 2022
724c045
Polish example.
termi-official Dec 15, 2022
dc14c73
Forgot to launch jsserve.
termi-official Dec 15, 2022
71f3360
More fixes.
termi-official Dec 15, 2022
0fefc6e
Add changelog
termi-official Dec 15, 2022
a5d88f5
Try to fix vis of gradient field in docs, again.
termi-official Dec 15, 2022
779474b
Elaborate more on the code and add Maxis suggestions.
termi-official Dec 15, 2022
e5df9b0
Getting closer to seeing something in the docs.
termi-official Dec 15, 2022
a7d64f8
polish example
koehlerson Dec 15, 2022
9753720
Rename for consistency.
termi-official Dec 15, 2022
e138d31
Pimp heat problem towards classical trigonometrical analytical function.
termi-official Dec 15, 2022
0d2c26b
Add test for manufactured heat solution.
termi-official Dec 15, 2022
f052cb4
use Ferrite#master in docs env for now
koehlerson Dec 17, 2022
8765244
maybe problem with commit id?
koehlerson Dec 17, 2022
2b36a7d
try something in CI
koehlerson Dec 17, 2022
4286d1d
Some refactoring and adding test coverage for gradient fields.
termi-official Dec 20, 2022
552aa02
Derp.
termi-official Dec 20, 2022
8e53b2c
Add note about future refactoring.
termi-official Dec 20, 2022
9e10a74
Update Ferrite dep.
termi-official Jan 17, 2023
2e03096
Update manifest and remaining deps for docs.
termi-official Jan 19, 2023
670916f
More changelog.
termi-official Jan 19, 2023
4282847
Improve readability of gradient field interpilation function.
Feb 13, 2023
f754ec1
Apply suggestions from code review
termi-official Feb 13, 2023
7c5e011
Fix index order in gradient field interpolation.
Feb 13, 2023
d6bc7fd
Merge branch 'do/flux-vis' of github.com:Ferrite-FEM/FerriteViz.jl in…
Feb 13, 2023
327c4f0
Hotfix outermost index access.
Feb 13, 2023
83d3812
Revert from Ferrite master to current Ferrite release.
Feb 14, 2023
62ddd7d
Add missing changelog entry.
Feb 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
version: '1.6'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: julia --project=docs/ -e 'using Pkg; Pkg.add(name="Ferrite",rev="master"); Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
termi-official marked this conversation as resolved.
Show resolved Hide resolved
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# FerriteViz.jl changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
### Added
- Docs and helper for gradient field visualization based on interpolation [#51][github-51].
Currently only useful in 2D, because we have no clip plane feature to introspect the interior
of 3D problems.
- Manufactured heat problem to test correctness of gradient field computation and as a
helper to generate scalar-valued solutions with different ansatz [#51][github-51].

### Modified
- Incompressible elasticity solver now takes the Ansatz functions and the actual material
parameters instead of the poisson number the Ansatz functions [#51][github-51].

termi-official marked this conversation as resolved.
Show resolved Hide resolved

[github-51](https://github.com/Ferrite-FEM/Ferrite.jl/pull/51)
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Tensors = "1"
julia = "1"

[extras]
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["SparseArrays", "Test"]
Loading