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

Problem with Using TacsBuilder for Grillage Optimization in TACS #184

Open
MohdAhmet opened this issue Nov 29, 2024 · 0 comments
Open

Problem with Using TacsBuilder for Grillage Optimization in TACS #184

MohdAhmet opened this issue Nov 29, 2024 · 0 comments

Comments

@MohdAhmet
Copy link

MohdAhmet commented Nov 29, 2024

I am working on a structural optimization project for a grillage model (bulk carrier hatch cover) using TACS with OpenMDAO. The objective is to minimize mass while satisfying yield stress and deflection constraints. I closely followed the example scripts provided in the TACS documentation as follows:

Initialize TACS builder

class PlateModel(Multipoint):
def setup(self):
struct_builder = TacsBuilder(
mesh_file=bdf_file,
assembler_setup=None,
element_callback=elem_callback,
problem_setup=problem_setup
)
struct_builder.initialize(self.comm)

but encountered the following error during execution:

Opt.py", line 62, in
struct_builder = TacsBuilder(
TypeError: init() got an unexpected keyword argument 'mesh_file'
mdolabuser@d007da2d526e:~/repos/tacs/examples/SCB/GrillageOpt$

My model is fully defined in the .dat file and verified independantly as well before trying to run the optimization.
The assembler is initilaized without arguments for this reason.

could you please suggest what is the best course of action? I have been reseaching for one week in the documentation to solve this error but I couldn't

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

1 participant