Fenics- Mesh

mit matplotlib, NumPy, pandas, SciPy, SymPy und weiteren mathematischen Programmbibliotheken.
Antworten
blubbablas3
User
Beiträge: 10
Registriert: Sonntag 4. August 2019, 12:32

Hallo liebe Mitglieder.

Ich versuche Fenics auf Windows 8 zu benutzen.
Ich habe Docker und Dolfin installiert.

Soweit funktioniert wohl endlich 'from dolfin import *' ohne Fehlermeldung. Allerdings kann ich nicht einmal ein Mesh generieren.

from dolfin import *
mesh = UnitCubeMesh(16, 16, 16)

Dies gibt folgende Fehlermeldung:
NameError: name 'UnitCubeMesh' is not defined.

Es wäre sehr nett, wenn mir hier bitte jemand helfen könnte. Ich bin schon verzweifelt. :cry:
Viele Grüße
Julia
Benutzeravatar
__blackjack__
User
Beiträge: 14336
Registriert: Samstag 2. Juni 2018, 10:21
Wohnort: 127.0.0.1
Kontaktdaten:

@blubbablas3: Was gibt denn ``import dolfin; print(dolphin)`` aus wenn Du das vor den Code setzt?
„Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.“ — Brian W. Kernighan
blubbablas3
User
Beiträge: 10
Registriert: Sonntag 4. August 2019, 12:32

Hallo blackjack,


bitte entschuldige meine späte Antwort. Ich habe es anderweitig geschafft. Danke für die Hilfe!

VG
Antworten