1: \begin{abstract}
2: We consider a $(2q+1)$-dimensional smooth manifold $M$ equipped with a $(q+1)$-dimensional,
3: \textit{a~priori} non-integrable, distribution ${\cal D}$ and a $q$-vector field ${\bf T}=T_1\wedge\ldots\wedge T_q$, where $\{T_i\}$
4: are linearly independent vector fields transverse to~${\cal D}$. Using a $q$-form $\omega$ such that ${\cal D} = \ker\,\omega$
5: and $\omega({\bf T})=1$, we construct a $(2q+1)$-form analogous to that defining the Godbillon--Vey class of a $(q+1)$-dimensional foliation,
6: and show how does this form depend on $\omega$ and~${\bf T}$.
7: For a compatible Riemannian metric $g$ on~$M$, we express this $(2q+1)$-form in terms of ${\bf T}$ and extrinsic geometry of~${\cal D}$ and normal distribution ${\cal D}^\bot$.
8: We find Euler-Lagrange equations of associated functionals: for variable $(\omega,{\bf T})$ on $(M,g)$,
9: and for variable metric on $(M,{\cal D})$, when distributions/foliations and forms are defined outside~a~``singularity~set"
10: under additional assumption of convergence of certain integrals.
11: We show that for a harmonic distribution ${\cal D}^\bot$ such $(\omega,{\bf T})$ is critical,
12: characterize critical pairs when ${\cal D}$ is integrable and find sufficient conditions for critical pairs when variations are among foliations, calculate the index form and consider examples of critical foliations among twisted products, Reeb foliations and transversely holomorphic flows.
13:
14: \vskip1.5mm\noindent
15: \textbf{Keywords}:
16: foliation, Godbillon--Vey invariant, variation, singularity,
17: mean curvature, transversely holomorphic flow, twisted product
18:
19:
20: \vskip1.5mm\noindent
21: \textbf{Mathematics Subject Classifications (2010)} Primary 53C12; Secondary 53C21
22: \end{abstract}