Skip to content

Commit 2a48a20

Browse files
matthew-kappven-k
andauthored
Update src/Hydraulic/IsothermalCompressible/components.jl
Add reversible=false to DynamicVolume Co-authored-by: Venkateshprasad <[email protected]>
1 parent a47c080 commit 2a48a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hydraulic/IsothermalCompressible/components.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ See also [`FixedVolume`](@ref), [`DynamicVolume`](@ref)
497497
end
498498

499499
"""
500-
DynamicVolume(N, add_inertia=true; area, x_int = 0, x_max, x_min = 0, x_damp = x_min, direction = +1, perimeter = 2 * sqrt(area * pi), shape_factor = 64, head_factor = 1, Cd = 1e2, Cd_reverse = Cd, name)
500+
DynamicVolume(N, add_inertia=true, reversible=false; area, x_int = 0, x_max, x_min = 0, x_damp = x_min, direction = +1, perimeter = 2 * sqrt(area * pi), shape_factor = 64, head_factor = 1, Cd = 1e2, Cd_reverse = Cd, name)
501501
502502
Volume with moving wall with `flange` connector for converting hydraulic energy to 1D mechanical. The `direction` argument aligns the mechanical port with the hydraulic port, useful when connecting two dynamic volumes together in oppsing directions to create an actuator.
503503

0 commit comments

Comments
 (0)