Jump to content

Recommended Posts

Hello Everyone,

 

In most cases for sheet metal weld location we wont maintain weld splits in shell meshing. Most of the time we need stress at weld toe. We obtain toe stress by interpolating result between two nodes.

 

So I am trying to create a script in which just by selecting the 2 nodes and inputting the distance of interpolation it should show the result at distance.

 

I have already prepared script for linear interpolation between two values.

 

1. So I want user to select two nodes on screen then in background script should save node contour value and zero distance for first node (x1,y1).

2.then when second node is selected it should save the nodal contour value for second node and distance from first node (x2,y2).

3. then user will input distance of interpolation (x3)

4.linear interpolation is done and (y3) will be calculated 

 

4th step  is ready with me.

How to get 1 , 2 and 3rd step to be done in hyperview?

 

Share this post


Link to post
Share on other sites

It seems that hv does not provide a proc to select nodes on screen. I can write a similar one but instead., you can use hwtk inputbox to input node id for calculation

Share this post


Link to post
Share on other sites

Hello Tinh,

Create mark or query nodal contour values, options not available in Hyperview?

 

Because inputting nodal id will not save much of time as user as to query nodal id each time. Is there any other way around?

Thank you

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...