Comments (5)
Hi @zuosl01, thank you for your question. I am not sure I understand whats is the plotting issue you encountered. Could you please give us more details - ideally a short failing example?
Regarding the second part of the question, oommfc
does not support periodic boundary conditions and demagnetisation.
from workshop.
Thank you for your reply. The failing example is attached. There are not arrows in the mapping. I have a another question now. For the uniaxialAnisotropy, if the first anisortropy constant K1<0, the second anisortropy constant K2>0, and the easy axis u is [100], how to express them? For example, if K1=-3e4, K2=1e4, and the u is [100], is the following grammar right?
K1 = -3e4 # uniaxial anisotropy constant (J/m3)
K2 = 1e4
u = (1, 0,0) # uniaxial anisotropy axis
mm.UniaxialAnisotropy(K1=K1,K2=K2, u=u))
Thank you very much! I am looking forward to your reply.
from workshop.
Thank you for the clarification. It looks like the number of discretisation cells you are plotting is very large. matplotlib
cannot plot so many arrows and keep the plot informative. You can reduce the number of cells to be plotted by passing n
. For example: system.m.plane('y', n=(20, 20)).mpl()
. You can also refer to this tutorial: https://github.com/ubermag/workshop/blob/master/tutorials/mpl-visualisation.ipynb. In addition, you can also consider reducing the number of discretisation cells in the mesh (if physically justified).
Regarding uniaxial anisotropy, you are right - this is the right way to define it.
Does this resolve your issue?
(Please note that we have a dedicated help repository: https://github.com/ubermag/help, where we encourage all users to raise issues for any Ubermag package.)
from workshop.
Thank you for your reply. My issue is resolved.
from workshop.
Great, thank you for letting us know. If you have an interesting use case about how you use Ubermag and would like to share it with others, I am sure others would find it useful - you can write a tutorial and we can make it part of the documentation.
from workshop.
Related Issues (20)
- Calculation at finite temperature HOT 1
- lastomffile not found HOT 2
- Running too long using preinstalled OOMMF HOT 3
- Negative value of anisotropy HOT 1
- Generating .mif files HOT 1
- Ubermag in Jupyter Lab HOT 1
- paralization in ubermag HOT 1
- Systematic study of variation of skyrmion velocity with skyrmion size HOT 1
- Hysteresis Loops HOT 2
- dipole-dipole interactions HOT 1
- import mumax3c as mc is not working HOT 1
- md.drive(system) error! HOT 2
- Docker runner is not working HOT 4
- #TOPOLOGICAL CHARGE ATTRIBUTE ERROR HOT 3
- D2d DMI Specification
- Workshop ideas
- Hysteresis loop
- AttributeError: Object has no attribute k3d_vector. HOT 1
- Issues when installing oommf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshop.