Search found 6 matches

by dvarx
05 Jan 2019, 19:10
Forum: External tools
Topic: Post-Processing Libraries in C++ or Python
Replies: 1
Views: 507

Post-Processing Libraries in C++ or Python

Hello everyone I would like to know if there are any Post-Processing libraries that you could recommend for dealing with "Mesh-Data" (e.g. .vtu files). As an example, it would be nice if the libraries had some of the following functionalities: [*] Ability to read .vtu files and extract data [*] Inte...
by dvarx
04 Jan 2019, 12:54
Forum: ElmerGUI
Topic: Defining Current Density for Magnetic Analysis
Replies: 6
Views: 953

Re: Defining Current Density for Magnetic Analysis

Hi, I cannot help with the compilation error, but I would like to add for the records that there is a chapter "basic programming" in the Solver manual, and there is also a Programmer's tutorial. Matthias Ok, I got it to work no by removing the ElmerICE libraries from the compile command. Thanks!
by dvarx
03 Jan 2019, 22:04
Forum: ElmerGUI
Topic: Defining Current Density for Magnetic Analysis
Replies: 6
Views: 953

Re: Defining Current Density for Magnetic Analysis

Hello Thanks for your answer. I am trying a simple test problem with a spherical charge density: CodeCogsEqn.gif I have the following file ChargeDensity.f90 : FUNCTION ChargeDensity( model, n, args) RESULT( f ) USE DefUtils IMPLICIT NONE TYPE(Model_t) :: model INTEGER :: n REAL(KIND=dp) :: args(3), ...
by dvarx
03 Jan 2019, 17:53
Forum: ElmerGUI
Topic: Zero Field Strength GUI Tutorial 7 and Solver Error Message
Replies: 1
Views: 487

Zero Field Strength GUI Tutorial 7 and Solver Error Message

Hello everyone, I was trying to solve the GUI Tutorial 7 "Magnetic field induced by harmonic current in a wire" but I get incorrect results (the magnetic field strength, current density etc are zero everywhere) as well as an error message from the solver. After following the tutorial, I get the foll...
by dvarx
02 Jan 2019, 02:07
Forum: ElmerGUI
Topic: Defining Current Density for Magnetic Analysis
Replies: 6
Views: 953

Re: Defining Current Density for Magnetic Analysis

Hi I would rather redommend making writing this as a small Fortran routine as it will be a lot faster and easier to debug. MATC makes string conversions back and forth making it painfully slow. I personally only use it for BCs and for testing. -Peter Thanks for your response. Is there a template fo...
by dvarx
01 Jan 2019, 21:24
Forum: ElmerGUI
Topic: Defining Current Density for Magnetic Analysis
Replies: 6
Views: 953

Defining Current Density for Magnetic Analysis

Hello everyone, I would like to do a simulation of a static Magnetic Field which is generated by a static current density J. So I create a Magnetodynamic Equation (MgHarm) with the following body force: Body Force 1 Name = "Current Density" Current Density 2 = 0 Current Density Im 1 = 0 Current Dens...