|
[Sponsors] |
How to assign different values for every cells in a part of the domain |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 1, 2016, 12:45 |
How to assign different values for every cells in a part of the domain
|
#1 |
Member
gereksiz
Join Date: Mar 2015
Posts: 42
Rep Power: 11 |
Hi,
I'm trying to assign different values for a specific part of the domain and the values have an order. For instance I have a flat plate domain, and my domain have 1000 cells as 10x10x10. I wanna assign values from 1 to 100 for all the first cells. I tried to modify setFields but I couldn't do it. I used funkySetFields before, but I don't know how to do it for this case. Does anyone know how to do it, or have an idea? Actually I can do it manually, but I don't wanna do it. My former adviser modified the setFields to help me, but I lost the code and I can't remember how he did it because I was so sicked of it that I didn't even take a look at the code. Cheers, clktp |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Pressure distribution on a wall | darazsbence | CFX | 17 | October 6, 2015 11:38 |
how to extract velocity values from cells | fromain | STAR-CCM+ | 2 | May 27, 2015 15:12 |
assign values to selected cells | zxj160 | OpenFOAM Pre-Processing | 4 | June 29, 2012 13:17 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 04:23 |