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 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Andrea_85
Forum: OpenFOAM June 25, 2015, 10:28
Replies: 43
Views: 10,131
Posted By Andrea_85
I don't have this error. Remember that OF always...

I don't have this error. Remember that OF always checks about dimensions.
nHatfv is dimensionless and you are setting nHatfv equal to something which has dimension of m^2. This generates the error....
Forum: OpenFOAM June 25, 2015, 05:18
Replies: 43
Views: 10,131
Posted By Andrea_85
I tried with OF 2.1 and it works. This is what i...

I tried with OF 2.1 and it works. This is what i have done:

1) in interfaceProperties.C
- removed the declaration of nHatfv
- add

nHatfv_ = gradAlphaf/(mag(gradAlphaf) +...
Forum: OpenFOAM June 24, 2015, 13:40
Replies: 43
Views: 10,131
Posted By Andrea_85
try with mixture.nHatfv();

try with

mixture.nHatfv();
Forum: OpenFOAM June 24, 2015, 13:13
Replies: 43
Views: 10,131
Posted By Andrea_85
Did you compile the library (interfaceProperties)...

Did you compile the library (interfaceProperties) after implementing the changes?


anyway you have two errors...try to post here the changes you did

Best,
Andrea
Forum: OpenFOAM June 23, 2015, 18:05
Replies: 43
Views: 10,131
Posted By Andrea_85
The interface unit normal vector is defined as: ...

The interface unit normal vector is defined as:

n = grad(alpha)/mag(grad(alpha))

In interfaceProperties.C it is calculated at the face centres at line 125

surfaceVectorField...
Forum: OpenFOAM January 12, 2014, 05:12
Replies: 43
Views: 10,131
Posted By Andrea_85
Hi, i think the best would be write your own...

Hi,

i think the best would be write your own script that does all the calculations. Have a look in application/utilities/postprocessing.
There you have a lot of examples. You can modify the main...
Forum: OpenFOAM January 10, 2014, 09:36
Replies: 43
Views: 10,131
Posted By Andrea_85
It depends what you want to do with diameter and...

It depends what you want to do with diameter and velocity. Do you need them during the simulation, because for example they appear in some new equations you are solving or you just need them in the...
Forum: OpenFOAM January 10, 2014, 09:06
Replies: 43
Views: 10,131
Posted By Andrea_85
Hi, supposing that your bubble remains a...

Hi,

supposing that your bubble remains a sphere (or circle in 2-D) and does not deform then if you have the surface area you can calculate the radius(diameter) using area formulas

2-D -> ...
Forum: OpenFOAM January 10, 2014, 08:37
Replies: 43
Views: 10,131
Posted By Andrea_85
Hi all, i guess that the total interfacial...

Hi all,

i guess that the total interfacial area can be simply calculated using:

\Sum_i=1:N \grad\alpha_i * \deltaV_i

where N is total numer of cells in your domain. This gives you an area in...
Showing results 1 to 9 of 9

 
Forum Jump

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