Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4250

A means of solving ordinary and partial differential equations. The domain of the problem is broken up into elements, and the solution in each element is expanded in a basis of functions. The Finite Element Method lends itself well to adaptive refinement, irregular geometry, and good error estimates.

3 votes

FEniCS: importing mesh along with material and boundary data

The questions depends on what program you have used to generate the external meshes. Dolfin provides the script dolfin-convert, which convert external meshes to dolfin meshes. Depending on what format …
Hake's user avatar
  • 171
5 votes

defining subdomains in FEniCS (Python) using obtained (solved) variable

You need to evaluate the Function at the given point. Assuming phi1 is a scalar Function, try: class Bulk(SubDomain): def inside(self, x, on_boundary): return phi1(x) >= 0.1 and similar …
Hake's user avatar
  • 171