Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

四面体单元和六面体单元积分器选择问题 #870

Open
MegrezLi opened this issue Jul 25, 2024 · 4 comments
Open

四面体单元和六面体单元积分器选择问题 #870

MegrezLi opened this issue Jul 25, 2024 · 4 comments

Comments

@MegrezLi
Copy link

请问一下四面体单元和六面体单元的积分器和组装器应该选择哪种,也是用LinearElasticityOperatorIntegrator,和BilinearForm.assembly吗?

@weihuayi
Copy link
Owner

你的问题还不够明确,你要求解的方程是哪一类方程,想用什么方法?

@MegrezLi
Copy link
Author

求解三维固体力学问题,想用六面体单元或者四面体单元,目前卡在了HexahedronMesh中的shape_function
变量中的bc,输入的bc的结构在函数内调用爱因斯坦求和时就会报错。我的bc输入的是,bc = (((1 - xi) / 2, (1 + xi)/2),
((1 - eta)/2, (1 + eta)/2), ((1 - zeta)/2, (1 + zeta)/2))。

@MegrezLi
Copy link
Author

return np.einsum('im, jn, ko->ijkmno', phi[0], phi[1], phi[2]).reshape(-1, ldof) 六面体中的shape_function,为什么形函数是六阶张量ijkmno?不应该是三阶吗?

@MegrezLi
Copy link
Author

bc似乎应该输入的是拉格朗日多项式?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants