找回密码
 注册
查看: 8935|回复: 35

FEM 入门

[复制链接]
发表于 2003-6-19 05:42:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
有限元入门程序:
QFEPDE - A Simple Finite Element Program
QFEPDE is a simple finite element program, for a two dimensional spatial domain, with no time dependence, using quadratic elements.
Files you may copy include:
qfepde.f90, the source code.
qfepde.out, sample problem output.
The list of routines includes:
QFEPDE is a simple finite element program
SETINT sets up a Gauss quadrature rule.
GEOM carries out a variety of computations related to the geometry.
ASEM calculates the stiffness matrix and load vector.
QBF evaluates the shape functions and their derivatives.
AA evaluates the coefficient function A(X,Y) in the differential equation.
UEX returns the exact solution of the differential equation.
UEXX returns the X derivative of the exact solution.
UEXY returns the Y derivative of the exact solution.
RHS returns the value of the right hand side of the PDE.
UBC returns the Dirichlet boundary condition at any point on the boundary.
BEPP performs Gauss elimination of a banded linear system.
EROR calculates L2 and H1 errors in the solution.
PRISOL prints the solution as a table of 5 columns.
 楼主| 发表于 2003-6-19 05:44:18 | 显示全部楼层

FEM 入门

sample problem output
 楼主| 发表于 2003-6-19 23:26:18 | 显示全部楼层

FEM 入门

看来没人喜欢FEM。我也是。不好理解。
 楼主| 发表于 2003-6-19 23:27:56 | 显示全部楼层

FEM 入门

要是有人想学的话,我这里有实用的FEM流体程序。
发表于 2003-6-20 09:27:00 | 显示全部楼层

FEM 入门

非常感谢,我需要的,而且是免不了要用的。
非常非常想要,实用的FEM流体程序, 谢谢。
email: wangwang00@21cn.com
发表于 2003-6-20 18:27:07 | 显示全部楼层

FEM 入门

发表于 2003-6-20 22:38:08 | 显示全部楼层

FEM 入门

算我一个。chbo76@sohu.com
发表于 2003-6-26 01:05:19 | 显示全部楼层

FEM 入门

算我一个把,谢谢
chen220322@163.com
发表于 2003-6-26 10:19:00 | 显示全部楼层

FEM 入门

sillybear,我是做粘弹流注射成型的数值模拟.要自己编程.给我一份吧,好借鉴借鉴!
先谢过了!
kuangtq@263.net

发表于 2003-6-26 20:32:29 | 显示全部楼层

FEM 入门

这位仁兄的附件很有借鉴价值,特别是对于初学者,
当然,我也是初学者,要搞东fem确实好头痛,找不到好的东西来学,
这位仁兄有关于fem方面的资料,可以给小弟分想一下么?
特别感谢你!!!
联系:sunmao2000@163.com
 楼主| 发表于 2003-6-29 03:09:57 | 显示全部楼层

FEM 入门

我对FEM不熟,贴几个源代码吗,希望能给想钻研FEM的学友有点帮助。
 楼主| 发表于 2003-6-29 03:11:43 | 显示全部楼层

FEM 入门

FLOW5 - A Finite Element Code for Fluid Flow
FLOW5 uses the finite element method to solve for the steady state velocity and pressure in a fluid flow region. The fluid is presumed to be incompressible.
Files you may copy include:
flow5.f90, the source code;
cavity.out, the output file;
elements.txt, the element file, suitable for input to the DISPLAY graphics program;
uvp.txt, the UVP file, suitable for input to the DISPLAY graphics program;
flow5.tec, a file suitable for input to the TECPLOT graphics program;
The list of routines includes:
FLOW5 solves a steady state incompressible flow problem using finite elements.
BSP evaluates the linear basis functions for pressure.
DFACT factors a double precision band matrix by elimination.
DSOLVE solves the linear system A*X=B.
FP computes the jacobian matrix A of the Navier Stokes residual.
FX computes the residual RES of the Navier Stokes equations.
INTPRS interpolates the pressure at the midside nodes.
NEWTON applies Newton iteration, seeking a solution of FX(G) = 0.
PLOT writes solution information to two files.
QBF evaluates a nonisoparametric quadratic basis function.
REFBSP evaluates a reference element linear basis function.
REFQBF evaluates a reference element quadratic basis function.
SETBAN computes the lower band width of the Jacobian matrix.
SETBAS evaluates the basis functions at each quadrature point.
SETQUAD sets the abscissas and weights for quadrature in a triangle.
SETNOD assigns numbers to the nodes and elements.
SETXY sets the X and Y coordinates of the nodes.
TRANS calculates the biquadratic reference element transformation.
UVPNORM returns the "norm" of the computed finite element solution.
UVALQ evaluates velocities and pressure at a quadrature point in an element.
VECMAX finds the entry of largest absolute value in a vector.
WRTEC writes out solution information for use with TECPLOT.
XOFXSI computes X and Y given XSI and ETA coordinates.
 楼主| 发表于 2003-6-29 03:13:36 | 显示全部楼层

FEM 入门

flow5.f90, the source code;
cavity.out, the output file;
elements.txt, the element file, suitable for input to the DISPLAY graphics program;
uvp.txt, the UVP file, suitable for input to the DISPLAY graphics program;
flow5.tec, a file suitable for input to the TECPLOT graphics program;
 楼主| 发表于 2003-6-29 03:15:55 | 显示全部楼层

FEM 入门

等关注的人多了,我再贴FLOW5的升级版Flow6。
升级版更好,但不一定BUG少。
发表于 2003-6-29 09:41:44 | 显示全部楼层

FEM 入门

问一下,程序中的有限元单元是三角形单元还是四边形单元?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表