Nonlinear penetrative converction in fluid and porous layers with heat flux prescribed on the boundaries