Skip to content
New issue

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

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

Already on GitHub? # to your account

Modal analysis #8

Open
virtuamechanica opened this issue Jan 24, 2025 · 2 comments
Open

Modal analysis #8

virtuamechanica opened this issue Jan 24, 2025 · 2 comments

Comments

@virtuamechanica
Copy link

Hello

Is it possible to make a linear modal analysis , for computing free frequencies of structure (no boundary conditions) , with the library ?
If yes, could i have an example ?

Thanks

@FrozenWinterheart
Copy link
Collaborator

Hi,
sorry for the late response. I'm currently working on implementing modal and buckling analysis. I think at the end of february the next release will be ready, so stay tuned.
At the meantime, there is a possibility for modal analysis. You can create a frequency step by using the universal keyword class.
Here is a small example

# Make new step and add to model
step = sk.Step() 
model.add_steps(step) 
# add keywords to the step
step.add_step_keywords(
    mk.Universal("*FREQUENCY\n10"), # use Universal keyword to set up a frequency step and ask for 10 frequencies
    sk.NodeFile([enums.ENodeFileResults.U]), # request deformations in frd file
    sk.ElFile([enums.EElFileResults.S]), # request stresses in frd file
)

model.solve()
model.show_results_in_cgx()

The problem atm is reading the results for post processing. The current frd reader will read the frd file without errors, but quering the created result object may be tricky. Because step time is now frequency and there may be some equal frequencies in one step (esp. the rigid body motions with a frequency of 0). So you have to look at the result sets in the result object to figure out which one is the one you need for further processing.

Kind regards,
Matthias

@virtuamechanica
Copy link
Author

Thank you for your reply Matthias.
I will test your workaround and wait for the next upgrade.

Thank you again for sharing your very nice library ! Great job.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants