CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: duongquaphim
Forum: OpenFOAM Running, Solving & CFD November 12, 2012, 09:32
Replies: 6
Views: 1,815
Posted By duongquaphim
you can just put the above code in interFoam.C...

you can just put the above code in interFoam.C for instance and compile. The outputs should be exported into time folders in the same way of U, p or alpha1 fields.

Duong
Forum: OpenFOAM Running, Solving & CFD November 9, 2012, 09:42
Replies: 6
Views: 1,815
Posted By duongquaphim
instead of const volVectorField& gradAlpha =...

instead of const volVectorField& gradAlpha = fvc::grad(alpha); use const volScalarField& gradAlpha = mag(fvc::grad(alpha));
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 01:43.