Skip to content

Is it possible to solve a variable stiffness problem? #1073

Answered by gdmcbain
BraveDrXuTF asked this question in Q&A
Discussion options

You must be logged in to vote

Yes indeed; e.g.

This example demonstrates a spatially varying coefficient.

@BilinearForm
def stiffness(u, v, w):
return (1 - w.x[0]**2) * dot(d(u), d(v))

After integration by parts yours will look like this; k (x) being the factor in parentheses.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BraveDrXuTF
Comment options

Answer selected by BraveDrXuTF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants