From: li pan <li76pan@ya...>  20070525 06:29:06

hi Mike, why do you want to add several components at once? I guess, you are having difficulties by assemblying. I also had problems before when I tried to implement the algorithm from paper to libmesh code. Because many finite element staffs found in books are vector based, and libmesh uses scalar. However, I'm sure this won't be a big obstacle as long as you get used to it. One comment, "dphi" which you 'll find in all the example code contains derivatives of shape function of all dimension. The value of a shape function is NOT vector as written in many books. pan Hello, I'm currently writing code to model the Biot equations for acoustic waves in porous media using LibMesh. Each element must have two variables, solid and fluid displacement. But each of these variables requires upto 3 components, (x, y,z as required). Is there a similar method to frequency_system.add_variable("var_name", FIRST) to add x,y,z components to the variables. >From what I can tell I have to get hold of the DoF_Obj in order to use DoFObj.set_n_comp(). Thanks for any help Mike ____________________________________________________________________________________Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC 