|
[Sponsors] |
how to apply a square wave function in flowRateProfile |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2020, 11:56 |
how to apply a square wave function in flowRateProfile
|
#1 |
Member
Riddhideep Biswas
Join Date: May 2020
Posts: 30
Rep Power: 6 |
I am working on a lagrangian simulation in sprayFoam where I am trying to use a square wave function profile in my flowRateProfile in sprayCloudProperties.
The submodels part that I am using in my sprayCloudProperties file is shown below. subModels { particleForces { sphereDrag; gravity; } injectionModels { model1 { type coneNozzleInjection; SOI 0; massFlowRate 0.0008; massTotal 6.0e-4; parcelBasisType fixed;//mass number nParticle 1; injectionMethod disc; flowType flowRateAndDischarge; outerDiameter 1.5e-3; innerDiameter 0; duration 0.03; position (0 0.0695 0); direction (1 -1 0);//(0 -1 0) parcelsPerSecond 10000; flowRateProfile square; frequency 100; amplitude 10; scale 1; level 5; Cd constant 0.9; thetaInner constant 10.0; thetaOuter constant 40.0; sizeDistribution { type fixedValue;//fixedValue fixedValueDistribution { value 0.0008; } } } } When I am trying to run the simulation, it gives an error message as shown below. --> FOAM FATAL ERROR: Not implemented From function Type Foam::Function1<Type>::integrate(Foam::scalar, Foam::scalar) const [with Type = double; Foam::scalar = double] in file /home/riddhideep/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/Function1.C at line 79. What should I do? What extra things should I add to get rid of the error? Any help would be of great use. |
|
Tags |
square wave profile |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
[waves2Foam] Waves2Foam Related Topics | ngj | OpenFOAM Community Contributions | 660 | August 20, 2018 13:39 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |