CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

cannot use fvOptions vectorCodedSource in parallel simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2019, 15:44
Default cannot use fvOptions vectorCodedSource in parallel simulation
  #1
Sgs
New Member
 
S
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Sgs is on a distinguished road
I can run my simulation on 1 core with my fvOptions file, and I can run the simulation in parallel without my fvOptions file, but I cannot run a parallel simulation with my fvOptions file.

Version: OpenFOAM v1806
Solver: icoReactingMultiphaseInterFoam

I was using the default fileModificationSkew of 10 and which gave a "Cannot read (NFS mounted) library error" (log file attached).


I re-compiled OpenFoam with fileModificationSkew set to zero (re: this suggestion) which gave a "couldn't close stdout: Stale file handle" error (log file also attached).

I tried making the dynamicCode directory available before running decomposePar, and that didn't seem to help.

Each step (blockMesh, setFields, etc.) before the solver starts runs fine in any of the above configurations, so I have only attached my fvOptions file.

Any advice would be greatly appreciated.
Sgs is offline   Reply With Quote

Old   September 8, 2020, 05:04
Default I am also stuck with similar problem
  #2
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 121
Rep Power: 17
mecbe2002 is on a distinguished road
Did you able to fix it?
mecbe2002 is offline   Reply With Quote

Old   October 13, 2020, 00:18
Default
  #3
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 121
Rep Power: 17
mecbe2002 is on a distinguished road
I am facing the same issue. Did you able to fix it ?
mecbe2002 is offline   Reply With Quote

Old   October 13, 2020, 01:36
Default
  #4
Sgs
New Member
 
S
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Sgs is on a distinguished road
No, I gave up on this and created a new solver where I added the term I wanted to the RHS in UEqn.H.



I wanted a sponge-like term so I defined a new scalar field in createFields.H, used the setFields module to set the term to zero everywhere except where I wanted the sponge, and then added



Code:
cmptMultiply(SpongeU,U)
to the RHS of the UEqn.
Sgs is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unsteady simulation solution files in parallel gunnersnroses SU2 1 December 15, 2015 14:28
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
Parallel Simulation Numeca Fine daxterss Fidelity CFD 6 June 24, 2013 05:52
Engine Simulation in parallel Peter_600 OpenFOAM 0 July 26, 2012 07:02
Parallel Deforming Mesh Simulation Tristan CFX 1 January 28, 2009 18:59


All times are GMT -4. The time now is 17:20.