|
[Sponsors] |
July 4, 2018, 10:12 |
funkySetField initialization
|
#1 |
New Member
Join Date: Feb 2012
Location: Nantes
Posts: 14
Rep Power: 14 |
Hi All,
I am initializing a field using distToPatch utility. In the attached pics, I have 2 different walls: green_wall and pink_wall. I want to initialize only in the cells according to the green_wall (prism layer). For that, I am using the following command: expression “some function” condition "5 >=distToPatch(green_patch) "; The problem I am facing now is: it initializes even in the cells adjacent to the pink patch. Does anyone have an idea how to avoid it? P.S: putting an extra condition, for example pos.x >= /<=Value doesn’t t bring anything in my case. The attached pictures are representing a 2D case but I have in reality a 3D case with several type of walls. Thanks in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
finite values inside the simulation domain with hybrid initialization at t =0 | sgbaek | FLUENT | 0 | February 15, 2018 19:45 |
FMG initialization query | Mohsin | FLUENT | 6 | November 2, 2016 03:02 |
Domain initialization sense | Red Ember | CFX | 5 | October 14, 2016 03:31 |
CFX Transient Initialization | frossi | CFX | 1 | June 17, 2016 10:31 |
Full Multigrid Initialization | Mr.Goodcat | FLUENT | 0 | March 17, 2016 07:43 |