|
[Sponsors] |
I/O NO_WRITE, eliminating some output for very large lagrangian simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 11, 2014, 18:04 |
I/O NO_WRITE, eliminating some output for very large lagrangian simulation
|
#1 |
New Member
Steven Swearingen
Join Date: Apr 2014
Posts: 5
Rep Power: 12 |
Hello, new here. Apologize if I’m not in the correct thread.
Little background: Running very large simulation using primarily icoUncoupledKinematicParcelFoam. I am post processing the data with my own program, and really only need the Lagrangian data output. I have eliminated the U, Rho, and Mu outputs by altering the createFields.H for myIcoUncoupledKinematicParcelFoam. I need to also eliminate Phi output at the very least, and would also like to get rid of epsilon, k, and nut. The problem is that in createFields.H phi is included with #include createPhi.H (which is in the shallowWater solver). And I haven't found yet where the output for epsilon, k, and nut is being handled. I have tried editing createPhi.H in the source code (not in my user directory) but I am unable to compile (wmake) for some reason, and unsure what I would need to do to copy createPhi.H over to my user directory, and #include that createPhi.H in the createFields.H of myIcoUncoupledKinematicParcelFoam solver (instead of the one it is referencing currently, which I assume is the one in the source). So help with createPhi.H would be much appreciated, as well as any help locating and altering the I/O for epsilon, k, and nut. Thanks so much, Steven |
|
April 12, 2014, 19:38 |
|
#2 |
New Member
Steven Swearingen
Join Date: Apr 2014
Posts: 5
Rep Power: 12 |
Well, no one seems to be able to help me, thank you those who have read this post though.
UPDATE: I figured out from my solvers dependency file where exactly createPhi.H was for this case and edited that to get rid of Phi. However, epsilon, k and nut files are still being output to every time step. With my number of timesteps, this takes up way too much HDD space and slows down the simulation by writing unnecessary info. It further slows down the simulation because I am required to write to a compressed format. If I could get rid of the nut, epsilon and k outputs at each timestep, this would bring my uncompressed simulation size (basically only outputting the Lagrangian, particle dynamics data) to like 6 GB. The nut, epsilon and k are part of the incompressible turbulence model, but I cannot figure out how to set these fields to NO_WRITE. I tried editing kEpsilon.C for RAS which I thought my solver was using, but nowhere in the dependency file (for my solver, myIcoUncoupledKinematicParcelFoam) does it mention RAS or kEpsilon. Thanks in advance, and again, if anyone has any input it would be much appreciated. |
|
April 14, 2014, 13:47 |
|
#3 | |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Quote:
|
||
April 14, 2014, 16:06 |
|
#4 |
New Member
Steven Swearingen
Join Date: Apr 2014
Posts: 5
Rep Power: 12 |
Correct, I need turbulence included for the particle dynamics to be correct, so I can't turn it off. However, I do not need the turbulence data, I only need the particle data as I am post processing it with my own program to approximate triboelectric charging of the particles.
So ideally I want to edit OpenFOAM so that it simply doesn't output the turbulence data. I'm using incompressible RAS kEpsilon. |
|
April 14, 2014, 18:58 |
|
#5 |
New Member
Steven Swearingen
Join Date: Apr 2014
Posts: 5
Rep Power: 12 |
From what I can tell, editing the kEpsilon.C file in the source (root) and recompiling seems to do nothing. Even after I set the fields to NO_WRITE for k,epsilon, and nut, and recompile both the turbulence model and my solver, without fail, it is still writing k,epsilon and nut (which are very large files, >1MB compressed, each) in every timestep.
The next approach I was considering is creating my own RAS model and using that instead, but I don't really see how that would do anything different. |
|
April 14, 2014, 19:34 |
|
#6 | |
New Member
Steven Swearingen
Join Date: Apr 2014
Posts: 5
Rep Power: 12 |
Quote:
Okay, problem solved, unless I find I need to use the coupled solver, because that will use the turbulence model. But, now that I think of it, the alterations I have already made to kEpsilon.C will likely take care of that. Sorry for the nonsense, and thanks for reading. Hope this helps someone else in the future. Steven |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large Eddy Simulation,,,???? | tumble | Hardware | 3 | February 16, 2010 18:36 |
MFX output of simulation time | Richard | CFX | 0 | October 10, 2008 10:50 |
Urgent About Large Eddy Simulation | ck3 | FLUENT | 1 | July 16, 2008 20:52 |
help for Large eddy simulation | Randheer Yadav | FLUENT | 0 | July 27, 2005 17:38 |
Output Excel File in Transient Simulation | Soon | CFX | 5 | July 11, 2005 07:11 |