Following Hamilton's principle, the energy function for the structural domain may be written as

where is the stress-strain matrix, is the strain vector, is the displacement vector, is the structural domain, is the wet surface of the structure, is the liquid pressure vector, is the body force vector and is the mass density of the structure. Setting variations on to zero gives the principle of virtual displacements