Re: [Libmesh-users] incorporate field parameters in libMesh

2016-11-17 Thread Xinzeng Feng
I will look into this example. Many thanks, Vikram! Xinzeng On Thu, Nov 17, 2016 at 5:37 PM, Vikram Garg wrote: > Hello Xinzeng, >You can find one use of MeshFunction in this > regression test for a libMesh based library (GRINS): https://github.com/gr > insfem/grins/blo

Re: [Libmesh-users] incorporate field parameters in libMesh

2016-11-17 Thread Vikram Garg
Hello Xinzeng, You can find one use of MeshFunction in this regression test for a libMesh based library (GRINS): https://github.com/grinsfem/grins/blob/master/test/regression/test_turbulent_channel.C Here, we are creating a MeshFunction (turbulent_bc_values) to map a 1-d tur

Re: [Libmesh-users] incorporate field parameters in libMesh

2016-11-17 Thread Xinzeng Feng
Hi Roy, Thanks for your response! I think my goal is really to first assign discrete data to a FE mesh, and then pass it to an interface for arbitrary x,y,z points. To achieve this, I can pass the data to a System object and initialize it with project_vector. But I "guess" that MeshFunction might

Re: [Libmesh-users] incorporate field parameters in libMesh

2016-11-17 Thread Roy Stogner
On Wed, 16 Nov 2016, Xinzeng Feng wrote: > I'm a new user of libMesh. I am trying to incorporate patient-specific MRI > data with a finite element model. For this purpose, I want to define a > field map with nodal values assigned based on the images. The field then > needs to be integrated to ass

[Libmesh-users] incorporate field parameters in libMesh

2016-11-16 Thread Xinzeng Feng
Hi all, I'm a new user of libMesh. I am trying to incorporate patient-specific MRI data with a finite element model. For this purpose, I want to define a field map with nodal values assigned based on the images. The field then needs to be integrated to assemble the stiffness matrix. I've noticed