bugpyFormex - Bugs: bug #44010, Data lines of a material's...

 
 

bug #44010: Data lines of a material's plasticity behavior are incorrectly formatted in the input file.

Submitter:  - <_90458>
Submitted:  Thu 15 Jan 2015 10:24:22 AM UTC
   
 
Category:  Plugins Severity:  3 - Normal
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Feb 2015 03:22:29 PM UTC, comment #2: 

Fixed in 7cd0dcd

Benedict Verhegghe <bverheg>
Group administrator
Thu 15 Jan 2015 01:08:55 PM UTC, comment #1: 

You are right it is wrong, not only desired.
every line must have 2 parameters + possibly temperature + up to 5 variable fields.

In this way Abaqus will interpret wrongly the data. The Command class only returns single data format (fmtData). Benedict has to fix this the way he likes as I am not familiar with the plugin anymore. maybe in the 'out' we just need to add a parameter to select the format

francesco <francio>
Group Member
Thu 15 Jan 2015 10:24:22 AM UTC, original submission:  

When defining the multi-line plasticity behavior of a material, the data is incorrectly formatted and ends up on a single line.

Example:


>>> from pyformex.attributes import Attributes
>>> from pyformex.plugins.fe_abq import fmtMaterial
>>> ss = Attributes({
...   'name': 'SS316L',
...   'young_modulus': 150000.,
...   'poisson_ratio': 0.3,
...   'plastic': [(200.,0.), (900.,0.5)],
...   })
>>> print(fmtMaterial(ss))
*MATERIAL, NAME=SS316L
*ELASTIC
150000.0, 0.3
*PLASTIC
200.0, 0.0, 900.0, 0.0


Expected (or rather desired) output:


*MATERIAL, NAME=SS316L
*ELASTIC
150000.0, 0.3
*PLASTIC
200.0, 0.0
900.0, 0.0



- <_90458>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by francio (Posted a comment)
  • -email is unavailable- added by _90458 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-24 bverheg StatusNone Fixed
        Assigned toNone bverheg
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code