|
[Sponsors] |
How to quote data from imported tables in field functions of Star CCM+? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2021, 22:59 |
How to quote data from imported tables in field functions of Star CCM+?
|
#1 |
New Member
Yibao Shang
Join Date: Jun 2014
Location: China
Posts: 15
Rep Power: 11 |
Hey guys,
I want to realize this function in Star CCM+: When temperature of a specific zone is less than T0,the heat source is set by my imported Table(time). When temperature of this zone exceeds T0, the heat source is set to another constant value. As far as I know, the alter of the heat source can be achieved by using field function code such as: $(Temperature of this zone)<T0? $(value from imported table) : constant value. However, I can't figure out how to get $(value from imported table) from the Table(time). One method in my mind is that I create a small zone totally independent of my concerned computational zone and create a report of the temperature of this zone, and then convert the temperature change rate into heat source in my field function. This method seems stupid and I believe there may be some ways I haven't thought about. |
|
September 8, 2021, 03:40 |
|
#2 |
Member
Join Date: Nov 2019
Posts: 93
Rep Power: 6 |
It may be that you're looking for the function interpolateTable, from the manual:
interpolateTable(@Table("<tablename>"), "<x-column>", {LINEAR | STEP | SPLINE}, "<phi-column>", <scalar_expression>) |
|
September 8, 2021, 07:43 |
|
#3 |
New Member
Yibao Shang
Join Date: Jun 2014
Location: China
Posts: 15
Rep Power: 11 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 20:06 |
External Magnetic Field Data Format for FLUENT MHD Module | eduardvinter | FLUENT | 0 | January 24, 2019 01:54 |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 07:30 |
Run OpenFoam in 2 nodes of a cluster | WhiteW | OpenFOAM Running, Solving & CFD | 16 | December 20, 2016 00:51 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |