|
[Sponsors] |
October 6, 2016, 11:44 |
define a sphere
|
#1 |
New Member
elahe javadi
Join Date: Aug 2016
Posts: 1
Rep Power: 0 |
Hi, actually I'm solving a simple twophase problem in openFoam4. the movement of a bubble in tube.
when I want to define a sphere in "setFields" folder by "sphereToCell" it makes a error like this: {Setting field default values --> FOAM Warning : From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>] in file setFields.C at line 117 Field alpha1 not found Setting field region values Adding cells with centre within sphere, with centre = (0 0 0.008) and radius = 0.004 --> FOAM Warning : From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>] in file setFields.C at line 117 Field alpha1 not found End} does anyone know what's the problem? |
|
October 6, 2016, 17:33 |
|
#2 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
it cannot find the alpha1 field or file. Can you post the setFieldDict file?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 21:13 |
SR_Rate UDF For a MEMs model | timjm | Fluent UDF and Scheme Programming | 1 | October 10, 2018 02:16 |
Define new turbulence model in Fluent | micro11sl | Fluent UDF and Scheme Programming | 55 | October 27, 2016 17:25 |
udf problem | eb.nabizadeh | Fluent UDF and Scheme Programming | 2 | March 1, 2013 00:28 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 09:23 |