CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

convert finite element code to finite volume code in MATLAB ?

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

Like Tree1Likes
  • 1 Post By Rami

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2015, 04:26
Default convert finite element code to finite volume code in MATLAB ?
  #1
New Member
 
amin
Join Date: May 2015
Posts: 1
Rep Power: 0
amin_danger2 is on a distinguished road
hi everybody
im new guy....
i want convert this program to finite volume anybody can help me?
sorry for poor english

https://www.mediafire.com/?0ekaocwbbljdkiz
amin_danger2 is offline   Reply With Quote

Old   May 7, 2015, 04:06
Default
  #2
Senior Member
 
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17
Rami is on a distinguished road
Hello amin_danger2,

I did not open the code, but can give you some simple guidelines.

If you know the theoretical details of the FEM code (and you should), you can convert it to FVM quite simply. Basically, you should replace the shape function by assuming constant values within a cell. You then have to go into more subtle issues of how the boundary conditions were implemented and change them is a similar manner, and also address the cell face treatment by selecting one of several possible approaches.

Regards,
Rami
amin_danger2 likes this.
Rami 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
multiphase turbulance case floating error harsha_kulkarni OpenFOAM Running, Solving & CFD 3 February 18, 2016 05:06
Control Volume , Finite Volume, Finite Control Volume, Finite Element Method technocrat.prakash Main CFD Forum 1 April 24, 2010 19:24
Comparison: Finite Volume Method vs. Analytic Method m-fry Main CFD Forum 1 April 20, 2010 14:40
finite volume method co2 FLUENT 0 March 1, 2004 12:24
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


All times are GMT -4. The time now is 05:38.