In this tutorial, the application of a time dependent boundary condition is demonstrated by applying a sinusoidal motion to a wall. The UBOUND_NODAL subroutine is called on a node-by-node basis for each boundary condition where structural bc is specified as user defined in CFD-ACE-GUI. User subroutines are built as Dynamic Link Libraries (DLL files for Windows) or
shared objects (.so files for UNIX platforms). The shared libraries are then
linked with CFD-ACE-SOLVER such that a two way communication between the
solver and the user defined input is established.
A simple, 2D serpentine duct is used to demonstrate the effects of setting
laminar viscosity equal to a function of the x-direction velocity gradient. The
viscosity increases with the gradient and thus is a "shear-thickening" fluid. This example uses UOUT to obtain the solution gradients, thenUVISC contains the code to calculate and set the
viscosity.