CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

SetFields runs with no errors but doesnbt change fields

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By adamsview

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2006, 09:13
Default Hi everybody....i'm studying a
  #1
New Member
 
Alessio V
Join Date: Mar 2009
Posts: 7
Rep Power: 17
adamsview is on a distinguished road
Hi everybody....i'm studying a complex domain with rasInterFoam. I used a box in paraview to find the box vertex for SetFields. I launch SetFields to set gamma 1 in a part of the domain. Everything is the same as in dambreak....no errors are given. At the end of SetFields execution, OpenFOAM asks me to reread mesh&fields... i do that (i tried to DON'T DO too!!). Everything seems to be ok, but gamma fields hasn't changed! It is still uniform. It looks like it doesn't find any cell into the box .... Can anybody help me?!
Thank you
adamsview is offline   Reply With Quote

Old   May 26, 2006, 09:34
Default Ok....i've solved that......i'
  #2
New Member
 
Alessio V
Join Date: Mar 2009
Posts: 7
Rep Power: 17
adamsview is on a distinguished road
Ok....i've solved that......i've found on the forum that box must be specified as (x_min y_min z_min) (x_max y_max z_max). It didn't work becouse i inverted y_min and Y_max....
lth likes this.
adamsview is offline   Reply With Quote

Old   September 24, 2010, 05:30
Default
  #3
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 16
Linse is on a distinguished road
Just for the case somebody does have the same symptom but that reason does not apply:
I found that setFields really needs the values in meters within the setFieldsDict.
In my case I had scaled the geometry via convertToMeters within blockMeshDict, setFields did run nicely - but the result was no change in the field.
You can scale within blockMeshDict - setFields though does not apply that scaling...

Bonus-question to the longtime-users: Is it possible to simply add the convertToMeters-part within setFieldsDict?
Linse is offline   Reply With Quote

Old   December 12, 2014, 22:03
Default
  #4
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by Linse View Post
Just for the case somebody does have the same symptom but that reason does not apply:
I found that setFields really needs the values in meters within the setFieldsDict.
In my case I had scaled the geometry via convertToMeters within blockMeshDict, setFields did run nicely - but the result was no change in the field.
You can scale within blockMeshDict - setFields though does not apply that scaling...

Bonus-question to the longtime-users: Is it possible to simply add the convertToMeters-part within setFieldsDict?
I have been running interDyMFoam solver for a while now and from what I know, there is no units conversion in setFields for this particular solver. setFields does not ask for the units when the boundaries of the analysis space is set. As far as I know it is set in meters. Please let me know.

Thanks
musahossein 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
Problem about setFields williamscn OpenFOAM Pre-Processing 23 December 9, 2018 01:15
InterDyMFoam and problem with setFields chris_sev OpenFOAM Running, Solving & CFD 1 March 23, 2009 22:23
Regarding setFields file 21kalee OpenFOAM Running, Solving & CFD 0 January 14, 2008 06:42
Mapping volsurface symmTensor fields after a topological change jcmasters OpenFOAM Bugs 1 September 4, 2007 14:48
OFstream doesnbt create directories or throw errors brooksmoses OpenFOAM 3 January 30, 2006 07:28


All times are GMT -4. The time now is 19:00.