|
[Sponsors] |
May 16, 2022, 09:17 |
Fields generated form functionObjects
|
#1 |
New Member
Zeinab Abosedaira
Join Date: Mar 2022
Posts: 24
Rep Power: 4 |
Hello all,
So I am trying to calculate the velocity magnitude at certain positions so I am using probes functionObject. Before this, I used mag functionObject to calculate the velocity magnitude. Now, when I am trying to use the probe on the new field Umag, the functionObject doesn't actually recognize it. This made me think that there might be a difference between the original fields and the fields calculated from postProcessing. I am curious to know the difference between them if there is any. Thank you so much! |
|
May 17, 2022, 06:00 |
|
#2 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi,
The generated field by the functionOject "mag" is not registered in the memory like the ones you may see them inside the OpenFOAM solvers. That's why the probs functionObject could not see it. Regards, Saleh |
|
May 17, 2022, 17:14 |
|
#3 |
New Member
Zeinab Abosedaira
Join Date: Mar 2022
Posts: 24
Rep Power: 4 |
Hello Saleh,
thank you for your reply. Since I am interested in OpenFOAM development. I was thinking about editing the mag function in order to register the field in the memory. I think it's going to be a good exercise. I need to understand how fields are added to the memory. If you can help me with explaining that or giving me a tutorial to watch or so. Thank you! |
|
May 18, 2022, 13:44 |
|
#4 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi Zeinab,
You may check the objectRegistry documentation. https://openfoamwiki.net/index.php/O...objectRegistry The IOobject is used in all the OpenFOAM solvers. Check any createFields.H. Then you may check the forces functionObject since the Cd and Cl can be used by another functionObjects. I hope that was useful. Regards, Saleh |
|
Tags |
fields, functionobjects, postprocessing |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does sampleDict have limitation in number of fields? | reza2031 | OpenFOAM Post-Processing | 3 | April 22, 2020 14:24 |
Map fields to a parallel target in OF 2.4.0 | DominicTNC | OpenFOAM Running, Solving & CFD | 3 | November 2, 2017 19:32 |
Utilities: post average turbulence fields and create turbulence fields for LES | Hanzo | OpenFOAM Running, Solving & CFD | 10 | August 18, 2017 19:33 |
How can I write selective additional fields using functionObjects? | fpmhadi | OpenFOAM | 3 | July 14, 2011 18:41 |
Get data in i,j,k forrmat ather than FE form | Puneet | FLUENT | 0 | November 19, 2003 13:40 |