Jump to content
mano112aprmw

RMS error

Recommended Posts

Could you please elaborate your requirement in detail?I am not clear  about your question whether you want to view any rms value. (Stress, velocity & acceleration)

We have many post on support forum based on rms. Please find below link for RMS stress.

 

Share this post


Link to post
Share on other sites

Hi Rahul,

I have parabolic dish, after doing static analysis i got deformed value of the parabolic dish, now i want to do surface fitting of the deformed dish. Is it possible to do surface fitting in Hypergraph?

Share this post


Link to post
Share on other sites

HG3D can’t create a 3d surface plot from scattered xyz data. What we support are surfaces where the x vector has m points, the y vector has n points and the z vector m*n points or when the surface consists of 2D slices. 

Or 

you could bring the data into HyperStudy and build a Fit.

You could then export a 3D plot of that fit surface to hg.

Or

You can also use matplotlib to display the data. HyperWorks (and HG) have a Python interface. You can look at the link below for examples.
http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html

You only need about 20 lines of code to accomplish this. Here is an example.

from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
from matplotlib.ticker import LinearLocator, FormatStrFormatter
import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
ax = fig.gca(projection='3d')
X = np.arange(-5, 5, 0.25)
Y = np.arange(-5, 5, 0.25)
X, Y = np.meshgrid(X, Y)
R = np.sqrt(X**2 + Y**2)
Z = np.sin(R)
surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.coolwarm,
                       linewidth=0, antialiased=False)
ax.set_zlim(-1.01, 1.01)

ax.zaxis.set_major_locator(LinearLocator(10))
ax.zaxis.set_major_formatter(FormatStrFormatter('%.02f'))

fig.colorbar(surf, shrink=0.5, aspect=5)

plt.show()
 

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...