Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Abaqus : Access to Refpoint data

Abaqus : Access to Refpoint data

Abaqus : Access to Refpoint data


I'm currently working on improving a plug-in for Abaqus. When using the plug-in, we need to select some reference points in the Interaction section of Abaqus. Then we chose to use them in the plug-in.

I then need to have access to the coordinates of the ref points but I can't find them. Do you have any idea how to do that ? the only methods I found needed the Reference points to be defined in the code.

Here's the part of the code I have :
self.label1=FXLabel(hf, 'Select the first RefPoint (E11,E22)', opts=JUSTIFY_LEFT|LAYOUT_FILL_X|LAYOUT_FILL_COLUMN)
FXButton(hf, 'Edit...',None,self,self.ID_M1,opts=LAYOUT_RIGHT|BUTTON_NORMAL)

Thanks for your help !

RE: Abaqus : Access to Refpoint data

I assume you get something like that from the GUI:
refpoint_x = mdb.models['Model-1'].rootAssembly.referencePoints[4]

Then you could use:

RE: Abaqus : Access to Refpoint data

The problem is that I don't know the keyword used to save the refpoints. Is 'Model-1' the name you choose to give it ?

RE: Abaqus : Access to Refpoint data

??? Your answer makes no sense.

Model-1 is the model name that the user is using in A/CAE. Model-1 is the default name, but it also could be something else.
refpoint_x is the variable name that might be defined as the variable that passes the information to the kernel script.

Both information can then be used in the kernel script to do the work.

RE: Abaqus : Access to Refpoint data

Ok ! I think I understand. I'll try this as soon as possible.

One last question though: Can I just add the line refpoint_x = mdb.models['Model-1'].rootAssembly.referencePoints[4] right under the FXButton ? Will the program understand which refpoint I'm talking about ?

RE: Abaqus : Access to Refpoint data

No you can't, since you don't know the ID of the refpoint in advance. The model name and the 4 was just my example. These kind of informations are queried when the user selects the entities and passed to your kernel script.

RE: Abaqus : Access to Refpoint data

Thanks but that's precisely my problem : the ref points are selected with the Iteration section of Abaqus, not in the GUI. Is there a way to access these information in the script ?

I know I wasn't clear enough in my post so I'll try to give a better explanation :
The plug-in uses Abaqus to create the system and create the reference points. It then asks you to select the ref points and sections you want to use for your simulation and proceeds with the calculs.
My problem is that I want to have access to the data after the ref points are created through a normal use of abaqus.

RE: Abaqus : Access to Refpoint data

Little trick: you can use a variable to store some data while using the constructor to create the refpoint.

a = mdb.models['Model-1'].rootAssembly
data_refpoint = a.ReferencePoint(point=(0.0, 0.0, 0.0))

Behind the variable data_refpoint you have now a couple of information, which includes also the feature ID.

Try it on an simple example and use 'print' to see what data you can access.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


White Paper - How ESI is Helping Move New Medical Device Product to Market Quicker & More Cost Effic
Early Supplier Involvement has long been a strategy employed by manufacturers to produce innovative products. Now, it almost seems like a necessity. Because decisions made in the design phase can positively affect product quality and costs, this can help add value to OEM bottom lines. This white paper will discuss many facets of ESI, including why it’s so valuable today, what challenges limit the benefits of ESI, how cost is impacted, and more. Download Now
White Paper - Moving to a Driverless Future
This white paper describes what we see as the best practices to support a sustainable engineering process for autonomous vehicle design. It exposes how to use simulation and testing in common frameworks to enable design exploration, verification and validation for the development of autonomous cars at a system, software and full-vehicle level to drive a mature product development process for automated driving. Download Now
Research Report - How Engineers are Using Remote Access
Remote access enables engineers to work from anywhere provided they have an internet connection. We surveyed our audience of engineers, designers and product managers to learn how they use remote access within their organizations. We wanted to know which industries have adopted remote access, which software they are using, and what features matter most. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close