Git Product home page Git Product logo

abapy's People

Contributors

lcharleux avatar mousta avatar vkeryvin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abapy's Issues

advanced examples issue

I tried to run the advanced example-2d/3d multi-material indentation on my computer with python 2.7.15 environment. but got an issue like this:
execfile('launcher.py')

65 simulations left to run.

Running Simulation: id=57, frames = 50

Traceback (most recent call last):
File "", line 1, in
File "launcher.py", line 5, in
db_manager.run_all()
File "classes.py", line 875, in run_all
self.run_next()
File "classes.py", line 856, in run_next
simu.run(work_dir = self.work_dir, abqlauncher = self.abqlauncher)
File "classes.py", line 725, in run
self.preprocess()
File "classes.py", line 666, in preprocess
l = mesh_l)
File "C:\Python27\lib\site-packages\abapy\indentation.py", line 244, in IndentationMesh
U2 = m2.nodes.eval_vectorFunction(disp2)
File "C:\Python27\lib\site-packages\abapy\mesh.py", line 634, in eval_vectorFunction
data1 = FieldOutput(labels = labels, data = data1, dti = dti, dtf = dtf)
File "C:\Python27\lib\site-packages\abapy\postproc.py", line 1569, in init
if data.any(): # data != None
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

and I also tried to fix the error by changing the line like:
if isinstance(data, array):'
but did not work. which seems that the error did not happen in that line.
Since I have already run the other example successfully, I really want to know what happened there.

Abapy Install issue with Conda

Dear Sir

I have installation issue for your abapy packages.
I have anaconda with py 3 installation..
Steps I followed is first download git repository as zip file.
After in conda shell I run

conda install abapy.zip

all packages are installed.

When I try to call abapy with import abapy it gives the following error :

import abapy
Traceback (most recent call last):

File "", line 1, in
import abapy

File "C:\Users\zyuce\AppData\Local\Continuum\Anaconda3\lib\site-packages\abapy-0.1-py3.6.egg\abapy_init_.py", line 56, in
import indentation, materials, mesh, misc, postproc

ModuleNotFoundError: No module named 'indentation'

Which step may I missing?

Missing lib with abaqus and abapy

Hi,

I would to try the lib Abapy
But when I launch abaqus python and try something like this :

from abapy.misc import dump
from abapy.postproc import GetHistoryOutputByKey as gho

Abaqus tells me he can't find "abapy.misc" lib.

I install this with the regular Python as explain here : http://abapy.readthedocs.io/en/latest/index.html

and add the abapy path too. Someone knows how to make it work ?

Thanks !

two questions

first, in the Tutorial chapter the command "abaqus job=indentation-axi" not "-", but "_", the right is "abaqus job=indentation_axi", it maybe a mistake in accident;
the second, when i use the python in abaqus, there always prompt " ImportError: No module named abapy.misc".

who can give some advice?? very thanks~~

Calculation of vector norm

The formula used for calculation of the norm of a vector is (( self * self )**.5).sum() in abapy.postproc. It should be (vec*vec).sum()**0.5 instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.