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 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: doubtsincfd
Forum: OpenFOAM January 5, 2012, 13:35
Replies: 13
Views: 2,275
Posted By doubtsincfd
you can write in the following way (tho not the...

you can write in the following way (tho not the cleanest way)
volVectorField gradP(fvc::grad(P));

const fvPatchList& patches = mesh.boundary();
forAll(patches,patchi)
{
...
Forum: OpenFOAM January 3, 2012, 16:30
Replies: 13
Views: 2,275
Posted By doubtsincfd
my understanding of the code is that Uadj will...

my understanding of the code is that Uadj will give velocity relative to the wall.
It is a little odd since velocity on the wall is zero so U will be zero.
The code for dynamic contact angle might...
Forum: OpenFOAM January 3, 2012, 15:58
Replies: 13
Views: 2,275
Posted By doubtsincfd
Exactly. We will have to calculate gradient...

Exactly. We will have to calculate gradient throughout the field and then use patchInternalfield(). I will try that and get back to you in a day.
Forum: OpenFOAM January 3, 2012, 15:32
Replies: 13
Views: 2,275
Posted By doubtsincfd
sample command will then write the derivatives on...

sample command will then write the derivatives on wall. But for calculating at first grid point, you will have to access data at the cell center adjacent to wall. If this is what you want then I can...
Forum: OpenFOAM January 3, 2012, 15:30
Replies: 13
Views: 2,275
Posted By doubtsincfd
if you need gradients, then you can implement...

if you need gradients, then you can implement following in your code:
if (runTime.outputTime())
{
volVectorField gradp(fvc::grad(p));

volScalarField gradpx
(
...
Forum: OpenFOAM January 3, 2012, 12:41
Replies: 13
Views: 2,275
Posted By doubtsincfd
look at this: ...

look at this:
/opt/openfoam210/src/transportModels/twoPhaseInterfaceProperties/alphaContactAngle/dynamicAlphaContactAngle

and
...
Forum: OpenFOAM December 30, 2011, 02:20
Replies: 13
Views: 2,275
Posted By doubtsincfd
have a look for alphaDynamicContact angle. Its...

have a look for alphaDynamicContact angle. Its somewhere in interfaceProperties.C or some file I cant remember. I has the code for calculating velocity vector parallel to wall. The logic behind the...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 09:55.