|
[Sponsors] |
sonicFoam how change the internal field density? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 17, 2017, 04:41 |
sonicFoam how change the internal field density?
|
#1 |
New Member
LYU XING
Join Date: Jun 2017
Posts: 7
Rep Power: 9 |
Hi all
I'm now doing a simulation about shockwave created by a tube, and want to observe the variation of density field,so I add density function to sonicFoam solver,to see data image more clearly in paraView I want to change the density of internal field. but it seemed can't work, even if I change the viscosity or change the 0 directory. I have searched the solution of this problem in open foam WiKi and other websites ,it's still can't solved. so I really someone can give me some tips, thanks a lot! 555.jpg Here is case: https://www.dropbox.com/s/kzx2bpuivp...oam11.zip?dl=0 |
|
November 22, 2017, 03:46 |
How to find applications folder or createField.H in Mac OpenFOAM
|
#2 |
New Member
LYU XING
Join Date: Jun 2017
Posts: 7
Rep Power: 9 |
Hi all
To solve this problem that can't Change initial density,I'm going to add a new density field into sonicFoam solver, but I can't find createFields.H file, and even can't find applications folder ,is it because I using Mac system? can anyone tell me how to find it? thanks a lot! |
|
November 29, 2017, 03:58 |
|
#3 |
New Member
LYU XING
Join Date: Jun 2017
Posts: 7
Rep Power: 9 |
Hi all
It's a good news that I have found the ceateFields.H file in Mac version OpenFOAM. And to create a new density field I added Oobject::MUST_READ,IObject::AUTO_WRITE into createFields.H file,but after calculated it's still can't read from rho file of 0 dictionary.so can anyone tell me how do I compile to change the initial density field.thanks a lot! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Internal field boundary condition confusion | cleoo | OpenFOAM Pre-Processing | 3 | September 6, 2016 07:58 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
No density change - rhoSimplecFoam | krapic | OpenFOAM | 1 | November 29, 2014 19:39 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |