On Wed, Aug 28, 2013 at 10:36 AM, subramanya sadasiva
<[email protected]>wrote:

> Sorry About that, there was a typo that resulted in the mail being sent..
> I see some very weird behaviour while working with subdomains. I don't
> know if it is intentional or if it is a bug.
>  I use a modified Abaqus IO to read the mesh from the file.  There are a
>

This will probably make debugging the problem harder for us...


>   lot of element sets in my input file and I don't want subdomains
> corresponding to all of them. So  I just set the elemset number as the
> subdomain ID. and the elemset name as the subdomain name. So I have an
> elemset 2 , and subdomain name main. My modified abaqus IO goes ahead
> and sets the subdomain id as 2 for all the elements. and then
>      the_mesh.subdomain_name(2)= main;
>
>  In the abaqusIO file, when I do
>
>      the_mesh.get_id_by_name(main)
> I get the answer that I'd expect which is 2.
> However, when I use the mesh that has been read.. , when I do
>
>    _mesh->get_id_by_name(main) , I get 0.
>

Is this actual code, or do you have quotes around "main" in the actual code?

-- 
John
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to