CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

define a sphere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2016, 11:44
Default define a sphere
  #1
New Member
 
elahe javadi
Join Date: Aug 2016
Posts: 1
Rep Power: 0
ejavadi is on a distinguished road
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?
ejavadi is offline   Reply With Quote

Old   October 6, 2016, 17:33
Default
  #2
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
it cannot find the alpha1 field or file. Can you post the setFieldDict file?
anishtain4 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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