File Exchange

FELICITY

version 1.2.2 (12.1 MB) by

Finite ELement Implementation and Computational Interface Tool for You

Updated

See the GitHub wiki:
http://github.com/walkersw/felicity-finite-element-toolbox/wiki
The following utilities are included:
- 3-D mesh generator for iso-surfaces.
- Closest point searching on meshes, including surface triangulations in 3-D.
NOTE: fixed error with MATLAB's triangulation class.
- Now includes H(curl) elements! Nedelec's 1st kind finite element is implemented.

Shawn Walker

Shawn Walker (view profile)

Hello Ahmed.

There is now a tutorial on solving Laplace-Beltrami on a piecewise quadratic surface, with piecewise quadratic elements:

https://github.com/walkersw/felicity-finite-element-toolbox/wiki/Laplace_Beltrami_Open_Surface_1

You can simplify this to your case of piecewise quadratics for Laplace in 1-D.

- Shawn

yongchao

yongchao (view profile)

Dear Shawn,
I want to implement some adaptive mesh for solving my PDE with the toolbox, so I'm wondering is there one example using the adaptive mesh?

Best,
yongchao

Shawn Walker

Shawn Walker (view profile)

Hello Ahmed.

There is a tutorial here on solving the Stokes eqn in 2-D. That involves a piecewise quadratic finite element space:

http://github.com/walkersw/felicity-finite-element-toolbox/wiki/Solve_Stokes_2D_1

http://github.com/walkersw/felicity-finite-element-toolbox/wiki/Managing_DoFs_1

On managing DoFs for higher order finite element spaces.

- Shawn

Ahmed Ismaeel

Ahmed Ismaeel (view profile)

Hello Shawn,
Thank you very much for this great toolbox.
Can you please send me modified two m files (MatAssem_Laplace_1D.m and test_Laplace_1D.m) to solve the same problem but using piecewise quadratic space.
Thank you very much
a.ismaeel.1@research.gla.ac.uk

Shawn Walker

Shawn Walker (view profile)

Hello Jesse.

Thanks for the comment.

As for citing, you can cite the GitHub or Wiki site. There is no official paper for it yet. If you use the TIGER mesher, there is a paper for that

jesse chan

jesse chan (view profile)

Hi Shawn
Tried out FELICITY - installed and tests all passed! One small note - on the tutorial (https://github.com/walkersw/felicity-finite-element-toolbox/wiki/Mesh_Generation_with_TIGER_1), when generating a 3D volumetric mesh for the sphere, the line "LS.Param.sign=1" is missing from the tutorial.

Also, how do we cite FELICITY if we use it?

Charles Nelatury

Shawn Walker

Shawn Walker (view profile)

I'm not sure what is wrong. Make sure you verify that your version of MATLAB supports the compiler. If it is a recent version R2010 or later, then you should be fine. But double check the version/compiler compatibility on the MATLAB web site.

Also, did you try this link:

http://www.mathworks.com/support/solutions/en/data/1-ECUGQX/

They walk you through the full install.

If that doesn't work, you should email the MATLAB helpdesk.

Robin Jens

Robin Jens (view profile)

Hi Shawn

Now I installed the following version of Microsoft Windows SDK 7.1

x64 ISO File Name: GRMSDKX_EN_DVD.iso

CRC#: 0x04F59E55

SHA1: 0x9203529F5F70D556A60C37F118A95214E6D10B5A

First I installed Microsoft Visual C++ 2010 Express as you proposed, but still it cannot find the C++ compiler in matlab when I write mex -setup

Shawn Walker

Shawn Walker (view profile)

Let me add another comment. You have to install TWO things (separately) to make MATLAB see MS Visual C++. They are:

1. Microsoft Visual C++ 2010 Express

2. Microsoft Windows SDK 7.1

The following link should be useful for those who want to use MS Visual C++ (Windows):

http://www.mathworks.com/support/compilers/R2011a/win64.html

Shawn Walker

Shawn Walker (view profile)

Here is the link I found:

Visual C++ 2010 Express:

http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

It says that it supports 64bit versions, and Windows 7. You may have to register as a user, but that isn't a big deal. Once you have it installed, MATLAB should see it by typing "mex -setup".

Robin Jens

Robin Jens (view profile)

Hi Shawn

Which version of Visual C++ edition did you install? In fact I have a 64bit version of matlab R2010a on a Windows 7 computer. Could you send a link where I can download a 64 bit version of Visual C++ express for free?

Shawn Walker

Shawn Walker (view profile)

YES, you do need a 64-bit compiler. When I tested this on Windows 7, I installed Visual C++ express edition (64-bit), and it worked.

Robin Jens

Robin Jens (view profile)

Hi Shawn

I have a 64-bit version of matlab installede and tried to install Visual C++ 2010 Express from the following link:http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express.
When I wrote m -setup in the command window it could not find the compiler. Do you know if I need a 64bit compiler?

MATLAB Release
MATLAB 8.3 (R2014a)
Acknowledgements

Inspired by: Example MATLAB class wrapper for a C++ class