Lines Matching refs:grashof
83 PetscReal lidvelocity, prandtl, grashof; /* physical parameters */ member
120 user.grashof = 1.0; in main()
124 PetscCall(PetscOptionsGetReal(NULL, NULL, "-grashof", &user.grashof, NULL)); in main()
144 … # = %g, grashof # = %g\n", (double)user.lidvelocity, (double)user.prandtl, (double)user.grashof)); in main()
188 PetscReal grashof, dx; in FormInitialGuess() local
192 grashof = user->grashof; in FormInitialGuess()
222 x[j][i].temp = (grashof > 0) * i * dx; in FormInitialGuess()
238 PetscReal grashof, prandtl, lid; in FormFunctionLocal() local
242 grashof = user->grashof; in FormFunctionLocal()
313 f[j][i].temp = x[j][i].temp - (PetscReal)(grashof > 0); in FormFunctionLocal()
348 …p * (u - x[j - 1][i].omega) + vym * (x[j + 1][i].omega - u)) * hx - .5 * grashof * (x[j][i + 1].te… in FormFunctionLocal()
379 PetscReal grashof, prandtl, lid; in NonlinearGS() local
393 grashof = user->grashof; in NonlinearGS()
548 …p * (u - x[j - 1][i].omega) + vym * (x[j + 1][i].omega - u)) * hx - .5 * grashof * (x[j][i + 1].te… in NonlinearGS()
596 ftemp = x[j][i].temp - (PetscReal)(grashof > 0) - bjitemp; in NonlinearGS()