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

fvOptions - fix cellValues in cellZone with different values

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2017, 12:48
Default fvOptions - fix cellValues in cellZone with different values
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,448
Blog Entries: 6
Rep Power: 46
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

just out of curiosity. Is there a way in fvOptions to fix the values at given cells (cellZone) with different values? Using scalarFixedValueConstraint enables this possibility for a cellZone, but I only can add one value which will be used for all cells. In my case I have a cellZone (arbitrary cells) which have different values. I never worked with fvOptions too much so maybe one of you knows it. If there is not such an option I might make a patch or do a dirty solution with hard-coding and using setValues for the matrix.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 11, 2017, 11:46
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,448
Blog Entries: 6
Rep Power: 46
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Short info. Right now it is not working. I guess it is based on the fact that the matrix should be first constructed completely and then we should manipulate it. Doing the same things after constructing the matrix works fine and as expected. Thus, I decided to make a new solver.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   November 6, 2018, 05:27
Default
  #3
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 6
Thecomebackkid is on a distinguished road
Is this also true of blue-cfd 2017 pls? I am trying to use fvOptions to make certain cellZones zero pressure and velocity within a MRF.
Thecomebackkid is offline   Reply With Quote

Old   November 6, 2018, 07:26
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,448
Blog Entries: 6
Rep Power: 46
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
As I pointed out, I wanted to set different values for a cellZone (cellSet). So in your case it should work without problems.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   November 6, 2018, 07:45
Default
  #5
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 6
Thecomebackkid is on a distinguished road
thanks for the confirmation.
Thecomebackkid is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
fvOptions MRF error vijaykamesh OpenFOAM 1 July 28, 2016 10:37
using chemkin JMDag2004 OpenFOAM Pre-Processing 2 March 8, 2016 23:38
Jump in epsilon values near the wall : low re k-epsilon model malaboss OpenFOAM Verification & Validation 1 February 1, 2013 17:36
Ensight - node values -cell values leo FLUENT 1 May 12, 2010 09:47
To fix the Boundary Condition values JSM FLUENT 0 February 28, 2007 12:57


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