[Libmesh-users] Libmesh, Visual Studio 2008 and cygwin

2012-06-05 Thread Mengda Wu
Hello all, I am trying to compile libmesh on cygwin using Visual Studio 2008 comipler. Is this combination supported? I configure with the following command: CXX=cl CC=cl CFLAGS='-MD -W3' CXXFLAGS='-MD -W3' ./configure It runs OK. But when I make, it said and just freezes there. Mak

Re: [Libmesh-users] Is libmesh good for contact mechanics?

2011-07-18 Thread Mengda Wu
as > > > 2011/7/18 Roy Stogner > >> >> On Sun, 17 Jul 2011, Mengda Wu wrote: >> >> > Sure. I am trying to solve a problem with two linear elastic bodies. One >> is >> > pushing the other at contact boundary. It this something libmesh can >&g

Re: [Libmesh-users] Is libmesh good for contact mechanics?

2011-07-17 Thread Mengda Wu
etails on the > kinds of problems you are looking to solve ? For example: the mathematical > structure of the PDEs and domain. Contact mechanics problems usually > involve moving boundaries, dont they ? > > Thanks. > > On Sat, Jul 16, 2011 at 4:49 PM, Mengda Wu wrote: > >

[Libmesh-users] Is libmesh good for contact mechanics?

2011-07-16 Thread Mengda Wu
Hi all, I am trying to compare free finite element library for solving contact mechanics problem. Is libmesh suitable for that purpose? Thanks, Mengda -- AppSumo Presents a FREE Video for the SourceForge Community by E

Re: [Libmesh-users] Links down at http://libmesh.sourceforge.net/presentations.php

2009-09-25 Thread Mengda Wu
Thanks a lot! Most of them are working now. Mengda On Thu, Sep 24, 2009 at 12:29 PM, Roy Stogner wrote: > > On Thu, 24 Sep 2009, John Peterson wrote: > > > That happened when the cfdlab's web server was moved to a new > > location, since most of the presentations were just links we had in > > ou

[Libmesh-users] Links down at http://libmesh.sourceforge.net/presentations.php

2009-09-23 Thread Mengda Wu
Hi all, I am wondering if links at http://libmesh.sourceforge.net/presentations.php can be fixed. I found most of them are down. Thanks, Mengda -- Come build with us! The BlackBerry® Developer Conference in SF, CA is t

[Libmesh-users] Navier-Stokes with stabilization terms

2009-07-07 Thread Mengda Wu
Hi all, I am thinking about using libmesh to solve blood flow problems in aorta by solving Navier-Stokes equations. I am wondering if people have implemented codes more involved than ex13 and ex18. Specifically, solver that has stabilization terms which can address flow with high speed and some

Re: [Libmesh-users] ./configure (svn revision 3408) does not recognize vtk shared library under Linux

2009-07-04 Thread Mengda Wu
The outputs of configure are attached in two files. They are vtk-shared.ok is from config.log generated by configure in rev 3392. vtk-shared.err is from config.log generated by configure in rev 3408. Thanks, Mengda 2009/7/1 John Peterson > On Wed, Jul 1, 2009 at 6:05 PM, Mengda Wu wr

[Libmesh-users] ./configure (svn revision 3408) does not recognize vtk shared library under Linux

2009-07-01 Thread Mengda Wu
Hi, I noticed that there are some changes of ./configure from svn revision 3392 to 3408 related to vtk. However, this change makes ./configure does not recognize vtk with shared library built. Instead, it only recognize static library build. The problem is there are a lot of linking errors when

Re: [Libmesh-users] PetscVector::add_vector fails at nodes on the subdomain boundary

2009-06-07 Thread Mengda Wu
Never mind! I found the problem. It was my fault. As the force is time-dependent, I need to do "close()" to finalize assembly properly every time step. Maybe this issue can be added somewhere in the document. Mengda 2009/6/7 Mengda Wu > Hi all, > >I have a code whic

[Libmesh-users] PetscVector::add_vector fails at nodes on the subdomain boundary

2009-06-07 Thread Mengda Wu
Hi all, I have a code which runs OK in serial version but when I tried to go to parallel. The result is wrong. I checked the matrix and rhs. The matrix is assembled correctly but the rhs is wrong. After a long time of debugging. I finally found it is because PetscVector::add_vector fails to add

Re: [Libmesh-users] Status of MeshData in parallel?

2009-06-03 Thread Mengda Wu
. Thanks a lot for your help! Mengda 2009/6/3 Roy Stogner > > On Tue, 2 Jun 2009, Mengda Wu wrote: > > Adding parameters as variables is a good idea. I will try that first. >> For now, I have already had my serial version code working using MeshData >> format .xta. I

Re: [Libmesh-users] Status of MeshData in parallel?

2009-06-02 Thread Mengda Wu
ek > > > On Jun 2, 2009, at 6:34 AM, Roy Stogner wrote: > > >> On Tue, 2 Jun 2009, Mengda Wu wrote: >> >> I am trying to use the MeshData structure in parallel. It seems >>> that there are some discussions on this issue. I am wondering what >>>

Re: [Libmesh-users] Status of MeshData in parallel?

2009-06-02 Thread Mengda Wu
is to load it on the first processor and distribute to other processors. (1) How should I achieve this? (2) Should I use add_vector instead of add_variable() to avoid increasing the number of dofs. Right? Thanks, Mengda 2009/6/2 Roy Stogner > > On Tue, 2 Jun 2009, Mengda Wu wrote: >

[Libmesh-users] Status of MeshData in parallel?

2009-06-02 Thread Mengda Wu
Hi all, I am trying to use the MeshData structure in parallel. It seems that there are some discussions on this issue. I am wondering what is the status of MeshData in parallel. How to handle the meshdata such as material parameters in parallel if this feature is not available. I tested usi

[Libmesh-users] Mesh decomposition and node duplication

2009-06-01 Thread Mengda Wu
Hi all, I am trying to understand the mesh decomposition and parallelism in libmesh. The mesh (is a SerialMesh) is a triangular surface mesh with total number of nodes: 1612, elements: 3144. Decomposition on 4 processors results in (got with n_local_nodes() and n_local_elem()) processor 0:

Re: [Libmesh-users] Compilation error with Intel compilers

2009-01-15 Thread Mengda Wu
I. Include mpi.h before stdio.h" #error "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h" ^ compilation aborted for src/base/dof_map.C (code 4) make: *** [src/base/dof_map.x86_64-unknown-linux-gnu.opt.o] Error 4 Thanks, Mengda 2009

[Libmesh-users] Compilation error with Intel compilers

2009-01-15 Thread Mengda Wu
Hi all, I used intel compiler to build the latest svn version of libmesh. I got the following error in the middle. Compiling C++ (in optimized mode) src/numerics/mesh_function.C... src/numerics/mesh_function.C(116): error: more than one instance of overloaded function "libmesh_assert_cast"

[Libmesh-users] Mesh of Tri3 in 3D space

2008-12-27 Thread Mengda Wu
Hi all, I am trying to use a mesh of Tri3 elements. I am wondering if Tri3 can handle 3D case (2.5D really) rather than 2D. Further, if the quadrature rule can compute values of shape functions and their derivatives as in 2D case. Happy holidays! Thanks, Mengda -