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

Update solid solver for flexible wings and SuperLU library #27

Open
wants to merge 88 commits into
base: dev-hung
Choose a base branch
from
Open
Changes from 6 commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
eb8e013
Merge pull request #21 from pseudospectators/dev-hung
Truong-Hung Nov 6, 2018
19f2cc1
put flexible-wing solver in the fluid solver for one-way FSI
Truong-Hung Nov 15, 2018
ccac9cf
adding dummy_wings in the mhd solver for the unittest
Truong-Hung Nov 15, 2018
81db874
update convert-to-wing-system
tommy-engels Nov 19, 2018
524a6ee
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Nov 19, 2018
fb5eca5
Arbitrary frequency of sinusoidal mean flow
dkolom Nov 22, 2018
779271c
Update params_template_fsi.ini
dkolom Nov 22, 2018
bf0e4a1
save pressure without recomputing it again for active FSI case
Truong-Hung Dec 3, 2018
0f8bca1
calculate pressure if the flexible-wing solver is used
Truong-Hung Dec 3, 2018
1b407d2
calculate pressure external forces for the flexible-solid solver
Truong-Hung Dec 3, 2018
e7e0512
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
Truong-Hung Dec 3, 2018
94415bb
add itri
Truong-Hung Dec 3, 2018
6175b30
allocate normal
Truong-Hung Dec 3, 2018
9ac26f5
add proper orthogonal decomposition to FLUSI
tommy-engels Dec 29, 2018
9d17d16
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Dec 29, 2018
979c9e3
fix typo in POD
tommy-engels Dec 29, 2018
5c910fc
improve POD (correct scaling)
tommy-engels Dec 29, 2018
b3b39b9
improve POD // allow custom separators when reading from ascii file /…
tommy-engels Jan 11, 2019
804c9f7
recompute the pressure for saving pressure field
Truong-Hung Jan 11, 2019
7d2a77c
forgot a file!
tommy-engels Jan 11, 2019
da7ef4d
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Jan 11, 2019
2605d62
add time_showing for solid solver
Truong-Hung Jan 14, 2019
712849c
add time-showing for solid solver
Truong-Hung Jan 14, 2019
246b473
adding revolving motion for Zimmerman wing
Truong-Hung Jan 18, 2019
b756259
Create LICENSE
tommy-engels Jan 21, 2019
e7fe15c
Merge pull request #25 from pseudospectators/add-license-1
tommy-engels Jan 21, 2019
436fa74
improve performance in insect module // streamline function calls for…
tommy-engels Feb 9, 2019
8618150
fix typo
tommy-engels Feb 9, 2019
9a775a9
fix typo
tommy-engels Feb 9, 2019
01f47dd
insects: greatly improve performance for bumblebee mask
tommy-engels Feb 10, 2019
d0b9294
update fractal tree module, as was required by WABBIT integration
tommy-engels Feb 15, 2019
f475165
adding backup and startup condition for flexible-wing solver
Truong-Hung Feb 25, 2019
17310dd
adding backup subroutine for the flexible-wing solver
Truong-Hung Feb 25, 2019
bc9a22c
adding backup subroutine for the flexible-wing solver
Truong-Hung Feb 25, 2019
78208a8
add dx_reference for init_wing subroutine
Truong-Hung Feb 25, 2019
487fccd
adding Jacobian element for external forces and bumblebee mesh
Truong-Hung Feb 26, 2019
6883b32
add show_timing for dry_run_flexible_wing
Truong-Hung Feb 26, 2019
0feebc4
update convert-to-wing-system (can now compute the correct velocity i…
tommy-engels Feb 28, 2019
c980710
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Feb 28, 2019
c02b940
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
Truong-Hung Feb 28, 2019
740e4d8
add saving external forces on wing surface for passive FSI
Truong-Hung Feb 28, 2019
7b57ef3
add noninertial force and load mass from file mass1.dat
Truong-Hung Mar 4, 2019
94ea065
changing forces from global to local wing coor system and vice versa
Truong-Hung Mar 6, 2019
9c8c30e
changing the angular velocity from global to local wing coor system
Truong-Hung Mar 6, 2019
c12edf9
add a barrier to MPI-HDF5 interface
tommy-engels Apr 2, 2019
904fa80
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Apr 2, 2019
0d11c37
include timing module from WABBIT, which is more sophisticated than w…
tommy-engels Apr 4, 2019
aca94a2
forgot a file
tommy-engels Apr 4, 2019
aa34cd0
bugfix (I have no idea why that did not compiler)
tommy-engels Apr 4, 2019
7213cbf
improve time measurements
tommy-engels Apr 4, 2019
1a0fe85
update flexible solid solver
Truong-Hung Apr 8, 2019
82d374c
simplify timing module by removing unused functionality
tommy-engels Apr 12, 2019
82133a0
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
Truong-Hung Apr 15, 2019
e1d8022
fix runtime_backuping in spectral artificial compressibility cases
tommy-engels Apr 25, 2019
5f163d4
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Apr 25, 2019
8c2f080
add improved sponge mask from wabbit (only 2D)
tommy-engels Apr 25, 2019
cc851b3
Update body_geometry.f90
dkolom May 21, 2019
42490b2
Update body_geometry.f90
dkolom May 21, 2019
13aec81
Paratuposa geometry
dkolom Jun 5, 2019
5891443
add second wing pair
dkolom Jun 13, 2019
3d08cb7
adapted for four wings
dkolom Jun 14, 2019
d4e6be1
Partupose revised wings and pitch_param body motion
dkolom Jun 18, 2019
a78f82d
Default wing thickness when read from file patch
dkolom Jun 21, 2019
3a8565a
Spherical insect body of arbitrary diameter
dkolom Jul 4, 2019
8a25fc2
Two new revolving kinematic cases for coaxial propellers
dkolom Jul 4, 2019
86c2c8f
New revolving kinematics modified for 2*pi angular speed
dkolom Jul 4, 2019
cafa0d8
revolving-set2 wing kinematics
dkolom Jul 8, 2019
a8ca9e1
Pruned FFT for dealiased computations. Unit tests updated for this case.
dkolom Aug 6, 2019
3b300f1
Swimmer unit tests updated
dkolom Aug 6, 2019
2b22efa
Solid solver segmentation error fixes
dkolom Aug 6, 2019
75b8b07
Bristled wing geometry added
dkolom Aug 19, 2019
eed25e8
Bristled wings update
dkolom Aug 20, 2019
b90b2ee
Bristled wing geometry update
dkolom Aug 23, 2019
e450d23
wavelets: work in progress (ad a bunch of orthogonal and biorthogonal…
tommy-engels Sep 2, 2019
67d6bb6
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Sep 2, 2019
926e478
rename idw -> wingID for clarity
tommy-engels Sep 3, 2019
63e22d0
Delete write(*,*) for debugging
Truong-Hung Sep 23, 2019
6235b45
Depricated -vec_report0 flag removed
dkolom Oct 22, 2019
5c8103a
Bristled wing updates
dkolom Feb 3, 2020
5862c17
Update bristle wing geometry
dkolom Feb 3, 2020
f47a971
Update wings_geometry.f90
dkolom Feb 4, 2020
f94414e
minor changes, add rotating cylinder for comparison with adaptuve code
tommy-engels Feb 5, 2020
f9651cc
Merge branch 'master' of https://github.com/pseudospectators/FLUSI
tommy-engels Feb 5, 2020
0332020
at least compiles again (bugfixes)
tommy-engels Apr 23, 2021
14b4cb3
Testing commiting file
Truong-Hung Dec 21, 2021
e5163cc
Updated solid solver for MSM flexible wing
Truong-Hung Dec 21, 2021
2d168a0
Update flexible wing models
Truong-Hung Feb 7, 2022
7f463a2
Improve save fields for dry_run_flexible_wing
Truong-Hung Feb 8, 2022
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ ifdef NOHDF5
PRE_FLAGS += -DNOHDF5
endif
FFLAGS += -module $(OBJDIR) # specify directory for modules.
FFLAGS += -vec_report0
#FFLAGS += -vec_report0
# debug flags
# FFLAGS+= -g -debug all -traceback -check all -CB
endif
2 changes: 0 additions & 2 deletions src/flexible_solver/save_wing.f90
Original file line number Diff line number Diff line change
@@ -22,8 +22,6 @@ subroutine SaveWingData( time, wings )
write(ns1_string,'(i3)') np+1
format_ns1 = '('//ns1_string//'(es15.8,1x))'

write(*,*) ns1_string, format_ns1

!-- save control point data
if (wings(i)%ControlPoint /= 0) then
open (14, file = 'wing_data'//wingstr//'_point'//ctrlpoint//'.t', status = 'unknown',position='append')
6 changes: 3 additions & 3 deletions src/insects/wings_geometry.f90
Original file line number Diff line number Diff line change
@@ -360,7 +360,7 @@ subroutine draw_blade_fourier(xx0, ddx, mask, mask_color, us,Insect,color_wing,M
xte = Radius_Fourier(1.0d0-theta,Insect,wingID)

!-- amplitude
R0 = xle-xte
R0 = 0.5*(xle-xte)

!-- get smooth rectangular function
R = dabs ( x_wing(1) - 0.5*(xte+xle) )
@@ -1002,12 +1002,12 @@ subroutine draw_wing_bristled(xx0, ddx, mask, mask_color, us,Insect,color_wing,M
-0.159718,-0.153299,-0.14512,-0.138701,-0.130518,-0.11999/)
! Bristle roots
ybr_root = (/0.245961,0.275969,0.307151,0.553556,0.572956,0.59412,0.614697,0.634098,0.651735,0.66937,0.682306, &
0.694063,0.70347,0.711118,0.711121,0.70701,0.697018,0.687025,0.675857,0.664099,0.651754,0.639998, &
0.694063,0.70250,0.711118,0.711121,0.70701,0.697018,0.687025,0.675857,0.664099,0.651754,0.639998, &
0.627068,0.617075,0.604732,0.592388,0.582396,0.568287,0.555942,0.541834,0.528309,0.514787,0.439526, &
0.426,0.414239,0.397773,0.384247,0.369543,0.355426,0.338368,0.318955,0.296013,0.271301,0.247763, &
0.225406,0.20599,0.190102,0.17539/)
xbr_root = (/-0.067707,-0.07412,-0.078773,-0.02397,-0.014569,-0.003993,0.00541,0.014811,0.023624,0.03361,0.038314, &
0.04419,0.048304,0.047726,0.045382,0.039515,0.03247,0.026596,0.019549,0.013674,0.007212,0.000164, &
0.04419,0.046000,0.047726,0.045382,0.039515,0.03247,0.026596,0.019549,0.013674,0.007212,0.000164, &
-0.00923,-0.01569,-0.02391,-0.031545,-0.038591,-0.045641,-0.052103,-0.060326,-0.063859,-0.070323, &
-0.097961,-0.100907,-0.103852,-0.107975,-0.110921,-0.112111,-0.1133,-0.113906,-0.112756,-0.111611, &
-0.106364,-0.099358,-0.095867,-0.091787,-0.087116,-0.081858/)
20 changes: 20 additions & 0 deletions src/insects/wings_motion.f90
Original file line number Diff line number Diff line change
@@ -315,6 +315,26 @@ subroutine FlappingMotion(time, Insect, protocoll, phi, alpha, theta, phi_dt, &
theta = 0.d0
theta_dt = 0.d0

case ("revolving-set3")
! revolving wing kinematics, pre-defined set. We fix alpha and increase
! phi linearily with a quadratic startup transient until phi=pi/16,
! which is reached at time equal to pi/8
! we use PHI_DOT = 1 as normalization
! Therefore, the acceleration is twice as fast as in "revolving-set2"
if (time < pi/8.0d0) then
phi = 4.0d0*time**2/pi
phi_dt = 8.0d0*time/pi
else
phi = time - pi/16.0d0
phi_dt = 1.0d0
endif
! feathering angle is constant
alpha = - Insect%init_alpha_phi_theta(1) ! Mind the "-" sign
alpha_dt = 0.d0
! elevation angle is always zero
theta = 0.d0
theta_dt = 0.d0

case ("Drosophila_hovering_fry")
!---------------------------------------------------------------------------
! motion protocoll digitalized from Fry et al JEB 208, 2303-2318 (2005)