CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

A magneticFoam tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By openfoamtutorials

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2019, 13:19
Default A magneticFoam tutorial
  #1
New Member
 
Robert
Join Date: Nov 2018
Posts: 8
Rep Power: 8
openfoamtutorials is on a distinguished road
I just wanted to share a tutorial video + github repo for a simple magneticFoam tutorial.


https://www.youtube.com/watch?v=bJvD90_GKd0


https://github.com/openfoamtutorials/magnet



I'm sure there are some mistakes, so please critique it and I will correct the repo.
lhcamilo, Alexee and alainislas like this.
openfoamtutorials is offline   Reply With Quote

Old   March 7, 2025, 07:32
Question Unhandled element
  #2
New Member
 
fabi
Join Date: Jan 2014
Posts: 6
Rep Power: 13
odin is on a distinguished road
I get the foolowing error when running the ./run.sh script.
Can ayone help me with that?
I am running OpenFOAM-v2012 in ubuntu on Windows and gmsh version 4.13.1 both on ubuntu and windows.


Code:
Info    : Running 'gmsh mesh/main.geo -3 -format msh2 -o main.msh' [Gmsh 4.13.1, 1 node, max. 1 thread]
Info    : Started on Fri Mar  7 13:27:29 2025
Info    : Reading 'mesh/main.geo'...
Info    : Done reading 'mesh/main.geo'
Info    : Reading 'mesh/main.geo.opt'...
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _7bdb509494-20201222 OPENFOAM=2012
Arch   : "LSB;label=32;scalar=64"
Exec   : gmshToFoam main.msh -case case
Date   : Mar 07 2025
Time   : 13:27:29
Host   : Cyclize-019
PID    : 4438
I/O    : uncollated
Case   : /mnt/c/Users/FabianSilber/tutorial/electrostaticFoam/magnet-master/case
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking  : Monitoring run-time modified files using timeStampMaster  (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Starting to read mesh format at line 2
Read format version 2.2  ascii 0

Starting to read physical names at line 5
Physical names:7
    Surface 1   wedge0
    Surface 2   wedge1
    Surface 3   fringe
    Surface 4   magnet_surface_top
    Surface 5   magnet_surface_side
    Surface 6   magnet_surface_bottom
    Volume 7    air

Skipping tag $ParametricNodes at line 15
Starting to read cells at line 18851
Cells to be read: 56690

Unhandled element 15 at line 18853
Unhandled element 15 at line 18854
Unhandled element 15 at line 18855
Unhandled element 15 at line 18856
Unhandled element 15 at line 18857
Unhandled element 15 at line 18858
Unhandled element 15 at line 18859
Unhandled element 15 at line 18860
Unhandled element 15 at line 18861
Unhandled element 15 at line 18862
Unhandled element 15 at line 18863
Unhandled element 15 at line 18864


--> FOAM FATAL ERROR: (openfoam-2012)
7163 not found in table.  Valid entries: 0()

     From const T& Foam::HashTable<T, Key, Hash>::at(const  Key&) const [with T = int; Key = int; Hash = Foam::Hash<int>]
    in file /home/pawan/OpenFOAM/OpenFOAM/OpenFOAM-v2012/src/OpenFOAM/lnInclude/HashTableI.H at line 89.

FOAM exiting
odin is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tutorial files KITetima FLUENT 8 November 23, 2019 16:05
AMI - Propeller Tutorial diverging kingmaker OpenFOAM Running, Solving & CFD 2 November 4, 2016 02:57
Tutorial For Workbench CFX Remesh ashtonJ CFX 2 April 26, 2014 21:19
Fluent Tutorial Guide Ch. 17: Non-Premixed Combust, THTR MAE7509 FLUENT 0 January 22, 2014 20:59
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 03:25


All times are GMT -4. The time now is 02:28.