|
[Sponsors] |
February 19, 2014, 21:21 |
|
#21 | |
Member
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12 |
Quote:
|
||
February 20, 2014, 01:09 |
|
#22 |
Senior Member
Onno
Join Date: Jan 2012
Location: Germany
Posts: 120
Rep Power: 15 |
I currently don't own a Pointwise license, so can't really help you.
But something likes periodic interfaces should be in the manual, if it isn't ask your Pointwise Support. |
|
February 20, 2014, 02:06 |
|
#23 | |
Member
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12 |
Quote:
Code:
internalField uniform (0 8 0); boundaryField { inlet { type fixedValue; value uniform (0 8 0); } outlet { type zeroGradient; } blade { type fixedValue; value uniform (0 0 0); symmetry { type symmetryPlane; } } Code:
boundaryField { inlet { type fixedValue; value uniform 0; } outlet { type fixedValue; value uniform 0; } blade { type zeroGradient; } symmetry { type symmetryPlane; } } Code:
SRFModel rpm; axis ( 0 1 0 ); rpmCoeffs { rpm 6; } Code:
4 ( blade { type wall; nFaces 121146; startFace 7649864; } inlet { type patch; nFaces 1172; startFace 7771010; } outlet { type patch; nFaces 1172; startFace 7772182; } symmetry { type symmetryPlane; nFaces 6222; startFace 7773354; } ) Code:
blade { type actuationDiskSource; active true; selectionMode cellZone; cellZone blade; actuationDiskSourceCoeffs { fieldNames (Urel); diskDir (0 -1 0); Cp 0.53; Ct 0.58; diskArea 300; upstreamPoint (0 0 0); } } Code:
actions ( { name blade; type cellSet; action new; source cylinderToCell; sourceInfo { p1 (0 -0.8 0); p2 (0 1.2 0); radius 10; } } { name blade; type cellZoneSet; action new; source setToCellZone; sourceInfo { set blade; } } ); Code:
Create time Create mesh for time = 0 Reading field p Reading field Urel Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting RAS turbulence model kEpsilon kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; sigmaEps 1.3; } Creating SRF model Selecting SRFModel rpm Creating fintite volume options from fvOptions Selecting finite volume options model type actuationDiskSource Source: blade - applying source for all time - selecting cells using cellZone blade - selected 2989384 cell(s) with volume 630.783 - creating actuation disk zone: blade --> FOAM FATAL IO ERROR: file: unknown FOAM exiting |
||
February 20, 2014, 02:18 |
|
#24 |
Senior Member
Onno
Join Date: Jan 2012
Location: Germany
Posts: 120
Rep Power: 15 |
Sorry, I haven't used SRF yet. But it reads like something is wrong with you fvOptions. Or maybe your missing a file. Have you copied one of the tutorials as a starting point?
It is common practice to set p to zeroGradient at the inlet and fixedValue at the outlet. Just like you did with U but inverted. |
|
February 20, 2014, 02:56 |
|
#25 | |
Member
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12 |
Quote:
|
||
February 20, 2014, 03:06 |
|
#26 |
Senior Member
Onno
Join Date: Jan 2012
Location: Germany
Posts: 120
Rep Power: 15 |
MRFZones has been merged into the fvOptions, at least when we are talking about the mainline OpenFOAM.
Compare your case-directory to the tutorials of the solver you are using. |
|
February 20, 2014, 03:54 |
|
#27 | ||
Member
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12 |
Quote:
Quote:
|
|||
March 4, 2014, 22:59 |
|
#28 | |
Member
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 13 |
Hi Jiaojiao,
Quote:
Thanks |
||
August 16, 2021, 14:06 |
|
#29 | |
Member
Gabriel Felix
Join Date: May 2021
Location: Brazil
Posts: 35
Rep Power: 6 |
Quote:
What I did to run my propeller was basically to modify the unsteady propeller tutorial from pimpleFoam or pimpleDyMFoam to run the steady case with simpleFoam and input my geometry and constraints. Here is my Allrun files: Allrun Code:
#!/bin/sh cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ ./Allrun.pre rm -rf processor* log.decomposePar log.simpleFoam log.reconstructPar restore0Dir runApplication decomposePar runParallel $(getApplication) runApplication reconstructPar rm -rf processor* ./plot #------------------------------------------------------------------------------ Code:
#!/bin/sh cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ #mkdir -p constant/triSurface # copy propeller surface from resources directory #cp -f $FOAM_TUTORIALS/resources/geometry/propeller/* constant/triSurface/ # meshing runApplication blockMesh runApplication surfaceFeatureExtract runApplication decomposePar runApplication snappyHexMesh -overwrite runApplication reconstructParMesh runApplication renumberMesh -overwrite # force removal of fields generated by snappy rm -rf 0 # generate face/cell sets and zones runApplication topoSet -dict system/createInletOutletSets.topoSetDict # create the inlet/outlet and AMI patches runApplication createPatch -overwrite # test by running moveDynamicMes #runApplication moveDynamicMesh -checkAMI # Clean parallel computation folders rm -rf processor* #------------------------------------------------------------------------------ |
||
|
|