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

[SMApp] Adding 2D truss elements 2N and 3N #12837

Merged
merged 37 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
24b46e6
base files added
AlejandroCornejo Nov 3, 2024
3f409e7
add more
AlejandroCornejo Nov 3, 2024
d15c64b
remove bug
AlejandroCornejo Nov 3, 2024
d3578f7
more code
AlejandroCornejo Nov 3, 2024
78062f6
Merge branch 'master' into structural-adding-2d-truss-elements
AlejandroCornejo Nov 4, 2024
f68035f
adding
AlejandroCornejo Nov 4, 2024
b803cd7
shape funct
AlejandroCornejo Nov 4, 2024
264e19a
derivatives of shape functions
AlejandroCornejo Nov 4, 2024
ae5e3ec
add utils for truss rotations
AlejandroCornejo Nov 4, 2024
68a6693
more code
AlejandroCornejo Nov 4, 2024
fade760
rotations
AlejandroCornejo Nov 4, 2024
3773baa
calculate LHS
AlejandroCornejo Nov 4, 2024
4d63e9e
calc LHS
AlejandroCornejo Nov 5, 2024
c09682f
RHS
AlejandroCornejo Nov 5, 2024
e0d5b4f
registering elements
AlejandroCornejo Nov 5, 2024
cfa8179
minor
AlejandroCornejo Nov 5, 2024
5a8f3a5
minor
AlejandroCornejo Nov 6, 2024
24f2773
remove space
AlejandroCornejo Nov 6, 2024
10232b3
prints
AlejandroCornejo Nov 6, 2024
452116a
Merge branch 'master' into structural-adding-2d-truss-elements
AlejandroCornejo Nov 6, 2024
69d859b
missing C
AlejandroCornejo Nov 6, 2024
f45077b
good print now
AlejandroCornejo Nov 6, 2024
acf22ab
adding 2d2N test input
AlejandroCornejo Nov 6, 2024
c4a2f63
adding test
AlejandroCornejo Nov 8, 2024
8d50479
Merge branch 'master' into structural-adding-2d-truss-elements
AlejandroCornejo Nov 8, 2024
b534305
Merge branch 'master' into structural-adding-2d-truss-elements
AlejandroCornejo Nov 8, 2024
bc9416d
Merge branch 'master' into structural-adding-2d-truss-elements
AlejandroCornejo Nov 8, 2024
0b3eefd
results
AlejandroCornejo Nov 8, 2024
1a13a56
improve truss cl
AlejandroCornejo Nov 8, 2024
0518164
add check
AlejandroCornejo Nov 8, 2024
dcd2055
adding 2D3N test
AlejandroCornejo Nov 8, 2024
3c49879
unused var
AlejandroCornejo Nov 9, 2024
21be5ba
avoid repetition
AlejandroCornejo Nov 11, 2024
19bae45
reordering register of FEs
AlejandroCornejo Nov 13, 2024
9acbfe5
minor in test
AlejandroCornejo Nov 13, 2024
345a423
add chack and avoid a repet
AlejandroCornejo Nov 13, 2024
31cf8cb
add new res file 2D3N
AlejandroCornejo Nov 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ double TrussConstitutiveLaw::CalculateStressElastic(
CalculateValue(rParameterValues,TANGENT_MODULUS,tangent_modulus);

const double current_stress = tangent_modulus*current_strain[0];

if (rParameterValues.GetOptions().Is(ConstitutiveLaw::COMPUTE_CONSTITUTIVE_TENSOR)) {
Matrix& r_const_matrix = rParameterValues.GetConstitutiveMatrix();
r_const_matrix.resize(1, 1);
r_const_matrix(0, 0) = tangent_modulus;
}
return current_stress;
}

Expand Down
Loading
Loading