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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: sharonyue
Forum: OpenFOAM Programming & Development April 10, 2014, 03:16
Replies: 3
Views: 1,403
Posted By sharonyue
Solved. volScalarField...

Solved.


volScalarField epsilonD(pow(epsilonF,1.0/3.0));


I checked it out in dimensionSet.C and I got this piece of code:

Foam::dimensionSet Foam::cbrt(const dimensionSet& ds)
{
Forum: OpenFOAM Programming & Development April 9, 2014, 23:56
Replies: 3
Views: 1,403
Posted By sharonyue
volScalarField epsilonD(pow(epsilonF,1/3)); ...

volScalarField epsilonD(pow(epsilonF,1/3));

This is very simple, epsilonF's dimension is [0 0 -3 0 0 0 0] , but epsilonD's dimention is [0 0 -0 0 0 0 0]
Forum: OpenFOAM Programming & Development April 9, 2014, 23:49
Replies: 3
Views: 1,403
Posted By sharonyue
dimension [0 0 -0 0 0 0 0]?

Hi guys,

I have a volScalarField,

volScalarField epsilonD(pow(epsilon/pow(d,2),1/3));


you can see that epsilon's dimension is [0 2 -3 0 0 0 0] and d's dimension is [0 1 0 0 0 0 0], So...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 22:52.