Skip to content
Snippets Groups Projects
Commit dffa6f06 authored by whimsial's avatar whimsial
Browse files

Resolved problem with incorrect loading application

parent b9cd118c
Branches
No related tags found
No related merge requests found
......@@ -32,10 +32,9 @@ def create_load(**kwargs):
LoadVal = kwargs['CompressiveLoad']
for i in range(len(ipMTnames)):
if i % 2 == 0: # Right pole
# TODO: Resolve issue with selecting the proper end of ipMT to apply loading
v = a.instances[ipMTnames[i]].vertices
loc = v[-1].pointOn
verts = v.findAt((loc, ), )
verts = v.findAt(loc, )
region = a.Set(vertices=verts, name='ipMTtip-' + str(i))
mdb.models[modelname].ConcentratedForce(name='Load-' + str(i),
createStepName=StepName,
......@@ -47,7 +46,7 @@ def create_load(**kwargs):
else: # Left pole
v = a.instances[ipMTnames[i]].vertices
loc = v[-1].pointOn
verts = v.findAt((loc,), )
verts = v.findAt(loc, )
region = a.Set(vertices=verts, name='ipMTtip-' + str(i))
mdb.models[modelname].ConcentratedForce(name='Load-' + str(i),
createStepName=StepName,
......
# -*- coding: mbcs -*-
# Do not delete the following import lines
from abaqus import *
from abaqusConstants import *
import __main__
......@@ -26,10 +24,11 @@ def Step(**kwargs):
# Define a standard buckling step with Subspace solver
modelname = kwargs['modelname']
StepName = kwargs['StepName']
NumberOfEigs = kwargs['NumberOfEigs']
mdb.models[modelname].BuckleStep(name=StepName,
previous='Initial',
numEigen=20,
vectors=40,
numEigen=NumberOfEigs,
vectors=2*NumberOfEigs,
maxIterations=300)
# Create a list of output variables
mdb.models['test'].FieldOutputRequest(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment