|
[Sponsors] |
problem when i use wallShearstress divide dimensionedScalar |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2015, 19:54 |
problem when i use wallShearstress divide dimensionedScalar
|
#1 |
Member
Fei Fan
Join Date: Jun 2013
Location: NanJing, China
Posts: 54
Rep Power: 12 |
Hi Foamers:
I have a problem when i use wallShearstress divide dimensionedScalar. ------------------------code------------------------------ shields.boundaryField()[patchWallID]= mag(wallShearStress.boundaryField()[patchWallID])/(gr*d*ro_sand); -------------------------------------------------------------------------------------- The error is that error: no match for ‘operator/’ (operand types are ‘Foam::tmp<Foam::Field<double> >’ and ‘Foam::dimensioned<double>’) -------------------------------------------------------------------------------------- The wallshearstress is volVectorField and the gr,d,ro_sand are three dimensionedScalar, shields is a volScalarField with dimensionless. I have no idea what's wrong with this code, anyone who can help me, thanks! Best regards Fan Fei Last edited by wyldckat; March 6, 2015 at 16:25. Reason: removed unrelated quote |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] engineFoam new mesh problem | ayhan515 | OpenFOAM Meshing & Mesh Conversion | 5 | August 10, 2015 08:45 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |